• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java Object Instances

 
sammaiah kyatham
Ranch Hand
Posts: 104
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Could you please tell me if there is anyway to know how many instances of the all java Objects are being in memory at specified time.

I've a requirement to log the memory status in terms of objects residing in memory at specific time.

*** The code should be independent of the existing java application *** Hope you understand my requirement

Any help will be appreciated

Thanks in advance,
Sammaiah.
[ February 21, 2007: Message edited by: sammaiah kyatham ]
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Take a look at http://java.sun.com/j2se/1.5.0/docs/guide/jvmti/
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic