content of Class-instance-statistics: dead or live?

Questions about YourKit Java Profiler
Post Reply
yuman
Posts: 16
Joined: Sat Jun 11, 2011 4:49 am

content of Class-instance-statistics: dead or live?

Post by yuman »

In the Class-instance-statistics files exported from a snapshot, are the objects counted live? I assume the content is the same as from 'jmap -histo'. The command has an option 'jmap -histo:live' -- If the live suboption is specified, only live objects are counted.
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: content of Class-instance-statistics: dead or live?

Post by Anton Katilin »

It exports all reachable objects, so yes, it is similar to jmap's live option:
http://www.yourkit.com/docs/java/help/reachability.jsp
Post Reply