accessing memory management details
Brian Harris
Brian.Harris at morganstanley.com
Mon Dec 20 09:02:33 PST 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: http://mail.openjdk.java.net/pipermail/hotspot-gc-use/attachments/20101220/bb642c44/attachment.html
More information about the hotspot-gc-use
mailing list