How to moniter memory allocated by some java method at runtime
I am creating a java program in which my class suppose A has it's some
predefined behavior. But user can over-ride my class to change its
behavior. so my script will check if there is some subclass than i will
call it's behavior but what if he has written some blocking code or memory
leek in his code. This may harm my process. is there is any way in java to
moniter memory allocated by some method.
Please suggest.
No comments:
Post a Comment