Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

[jboss-user] [Installation,
 Configuration & Deployment] - Re: GC hell ?

scott.stark@jboss.org

2007-06-12


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#4053720

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053720
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.