Analysing objects generated by a Java application in between GCs.
- by elec
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 ?