Analysing objects generated by a Java application in between GCs.

Posted by elec on Stack Overflow See other posts from Stack Overflow or by elec
Published on 2010-05-25T10:55:27Z Indexed on 2010/05/25 11:21 UTC
Read the original article Hit count: 201

Filed under:
|

Is there a tool which could be used to analyse the objects being created between two separate garbage collection run (= number of objects created and their type) ?

Heapdumps dont really work here as they perform a GC when they're invoked (or at least that's what I observed everytime so far), and I want to see which objects are collected by the GC, not which objects are left after the GC run, if that makes sense.

...or is it possible somehow to inspect the nature and size of objects being collected by the garbage collector ?

© Stack Overflow or respective owner

Related posts about java

Related posts about gc