Find path from GC Roots, new option and export

Questions about YourKit Java Profiler
Post Reply
masalm
Posts: 7
Joined: Wed Aug 11, 2004 11:46 am

Find path from GC Roots, new option and export

Post by masalm »

"Find path from GC Roots":
It would be great to have an option to find the x largest instances.

An export option for the result of that search would be really useful. Perhaps in XML-Format.
masalm
Posts: 7
Joined: Wed Aug 11, 2004 11:46 am

Post by masalm »

I just saw, that there is a HTML-Export-Option in 512. Great.
CT
Posts: 2
Joined: Fri Feb 04, 2005 5:55 pm

Post by CT »

The export to HTML is nice, but I do think the export to XML would be a really nice feature....
Vladimir Kondratyev
Posts: 1626
Joined: Tue Aug 10, 2004 7:52 pm

Post by Vladimir Kondratyev »

How are you going to use paths exported to XML?
catalin
Posts: 1
Joined: Mon Mar 07, 2005 11:08 am

Nice feature... but may be improved a little

Post by catalin »

Hi guys,

This is really a nice feature...
But there is a small little thing to make it even more useful: make the follow of weak references optional.
It's nice that weak references are not considered when doing that "soft" GC on the snapshot, but I am is the situation where I have an object that is referenced through a strong reference and hundreds of weak references.
In "Find path from GC Roots", I see all the references, including weak ones, and it's very time consuming to check each one, to see if it's weak or not (actually, I assume it's weak because it in the "value" field of an entry of a WeakHashMap).
Vladimir Kondratyev
Posts: 1626
Joined: Tue Aug 10, 2004 7:52 pm

Post by Vladimir Kondratyev »

Profiler should not show paths via Weak and Soft references. Could you please provide an example (snapshot file) which demonstrates the problem.
Post Reply