Improve root set used by hat
Tomas Hurka
Tomas.Hurka at Sun.COM
Wed Oct 7 00:20:11 PDT 2009
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:tomas.hurka at sun.com>
NetBeans Profiler http://profiler.netbeans.org
VisualVM http://visualvm.dev.java.net
Software Engineer, Developer Platforms Group
Sun Microsystems, Praha Czech Republic
More information about the serviceability-dev
mailing list