Detecing the generation an object belongs to

Volkan Hatem volkan at hatem.net
Wed Mar 31 05:50:00 UTC 2010


Hi,

How can I detect to which generation an object belongs? (regular java, JVMTI, ?)

Is it safe to assume that all generations are allocated contigiously?
Hence detecting starting offset & size of a generation may give me
what I'm looking for?

Where can I find more information about how GC interacts with JVM? In
other words, how can I implement agents which interacts with GC the
way JVMTI does?

This will require more than detecting start/stop of GC collection.
What GC had detected as reachable/unreachable, decision to promote an
object etc.

Thanks,
-volkan
_______________________________________________
hotspot-gc-use mailing list
hotspot-gc-use at openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use



More information about the hotspot-gc-dev mailing list