Unfortunately I do not know of any way of asking the JVM to state what objects it is
removing as part of a GC. Actually, during a GC the JVM considers only live objects - it
never even looks at dead objects that it collects.
But you can take a heap dump - see
http://java.sun.com/javase/6/docs/technotes/tools/share/jhat.html.
If you can take a dump before a GC, that should give some idea of what is in the heap.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053720#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...