accessing memory management details

Brian Harris Brian.Harris at morganstanley.com
Mon Dec 20 17:02:33 UTC 2010


Hello,

Is it possible for my app to learn where objects are allocated? Young or old
generation, if young which survivor space? In a LAB? I'm interested in where
an object was initially allocated, but also any movements (from where?, to
where?, when?) that happen thereafter.

These use cases illustrate what I had in mind:
  * JUnit test asserting >90% of allocations of type com.mycompany.Entity
are done in TLAB
  * Benchmark tool showing the effect that various JVM tuning parameters
have on memory management. Displayed as graphs, timelines, etc.

I looked through the 1.6 JVMTI demos and didn't see these sort of details
being exposed. Also nothing similar looking through BTrace examples. Where
should I look next?.

Happy holidays,
Brian Harris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/hotspot-gc-dev/attachments/20101220/bb642c44/attachment.htm>
-------------- next part --------------
_______________________________________________
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