Hi Sundar,

On 7 Oct 2009, at 08:28, A. Sundararajan wrote:

I agree. Static fields of classes loaded by non-bootstrap loaders should not be part of root set.

PS. I am not sure if this is a bug with hat or with heap dumpers (the hotspot built-in dumper and SA's dumper). I don't remember how "roots" is filled. May be, these static fields should not be flagged as roots?
I think this is in hat only, since HeapWalker in Java VIsualVM does it correctly.

Bye,
--
Tomas Hurka   <mailto:[email protected]>
NetBeans Profiler http://profiler.netbeans.org
VisualVM http://visualvm.dev.java.net
Software Engineer, Developer Platforms Group
Sun Microsystems, Praha Czech Republic

Reply via email to