Remove unreferenced and weakly referenced objects
If this option is checked, JProfiler will remove all objects from the
heap that are not strongly referenced. These include:
- unreferenced objects that are eligible for garbage collection
- objects that are referenced only through soft, weak and phantom references
-
objects that are in the finalizer queue and will be garbage collected
as soon as the finalizers have been run
For strongly referenced objects, the heap walker will not display soft,
weak and phantom references.
This mode is preferable for memory leak detection, and is especially helpful
to obtain useful information when showing the
path to root
for selected objects.
Unchecking this option allows you to analyze the heap "as-is".
1.3 JVMs perform a full garbage collection before the heap snapshot is taken,
so unreferenced objects can never occur even if the option is unchecked. With
1.4 JVMs, no garbage collection is performed prior to the snapshot.