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

Lijie Xu csxulijie at
Fri Aug 23 08:38:16 UTC 2013

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

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the hotspot-gc-dev mailing list