|Re: Exploring all GC roots in dump [message #4342 is a reply to message #4272]
||Wed, 03 September 2008 19:17
| Taras Tielkes
Registered: July 2009
Thanks for the query, and indeed, I forgot that an object can belong to
multiple GC root categories.
YourKit proviews a view where I can explose the roots by group, I assume
in their UI an item would be shown in multiple groups, but I'm not sure.
I've used that UI sometimes to really explore things starting from some
Andreas Buchen wrote:
>> Is there an easy way in the MA tool to get a (grouped) list of all GC
>> roots in a snapshot?
> A little bit of ugly OQL will give you a list of all GC roots.
> SELECT OBJECTS $snapshot.getGCRoots() FROM OBJECTS 0x0
>> Grouped by root type (native, local, monitor, etc)?
> But not grouped... (an object can be GC root for multiple reasons, maybe
> because it is currently on the call stack of a running thread and it is
> a system class). Sorry.
Powered by FUDForum
. Page generated in 0.02473 seconds