At one point, I think jmap/jhat were the only tools able to show you the contents of permgen. Not sure if that's still true or not. I think the Eclipse Memory Analyzer has some useful tools but I haven't used it. I think SoftReferences would be visible in there?
Exotic JVM option to explore, maybe to the problem easier to reproduce: -XX:SoftRefLRUPolicyMSPerMB On Jan 25, 5:34 am, Jochen Theodorou <[email protected]> wrote: > Am 24.01.2011 19:18, schrieb Attila Szegedi: > [...] > > > I agree that this is, in all likeness, a GC bug - the JVM should > > clear the soft references and then collect the ordinary heap + > > permgen before throwing an OOME for permgen. I don't remember filing > > a bug about this though I think it'd be worth it, though. > > assuming I have a heap dump from the time the OOME was caused. Is there > a way to definitely say that it contains soft reachable objects? Some > kind of tool that does this for me in a reliable way? > > There are many tools out there, but I cannot clearly see if they are > able to do this and how. > > bye blackdrag > > -- > Jochen "blackdrag" Theodorou > The Groovy Project Tech Leadhttp://blackdragsview.blogspot.com/ > For Groovy programming sources visithttp://groovy.codehaus.org -- You received this message because you are subscribed to the Google Groups "JVM Languages" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jvm-languages?hl=en.
