How to identify individual object's location in JVM heap space

Lijie Xu csxulijie at gmail.com
Fri Aug 23 01:38:16 PDT 2013


Thanks for your interpretation. I'm wondering how to get each object's
address.

I know that each object has a hashcode. But it seems that this code has
nothing to do with the physical address. I think there is a "object table"
in JVM which indicates each object's location. So JVM can calculate the
usage in each generation. Maybe I need to hack the JVM, but where to start
with?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-gc-dev/attachments/20130823/bb51f22f/attachment.html 


More information about the hotspot-gc-dev mailing list