Telerik® JustTrace™ by Progress

You can open the Paths To GC Roots view of a particular object from the Instances List view or the Largest Memory Retainers view.

The Paths To GC Roots shows the paths in the object reference graph which lead from a GC root to the examined object. These paths show why a given object cannot be garbage collected. Only the shortest path to each GC root is shown. First JustTrace finds the nearest GC root. Next it determines how deep to scan for other roots -- to display a root, its shortest path's length must be at most twice that of the nearest one's.

Root objects are placed in a rectangular shape with light blue background, while non-roots are in rounded rectangles with antique white background.

If you double click an object's node, its Paths To GC Roots view will be opened in a new tab.

If you click on the expander symbol located in the upper-right corner of each node, its path(s) to its GC root(s) will be collapsed or expanded.

Green shapes indicate groups of objects of the same type. If you double click a group node, it will open a new Instances List view with the objects contained in the group.

Paths To GC Roots

The following information is listed for each node in the paths:

  • Object ID - unique ID of the instance.
  • Class Name - the name of its type. The fully qualified name can be seen in a tooltip window when the mouse is hovered over the shape.
  • Member Name - the name of the member variable which holds the reference to the other object.

The context menu contains the following commands:

  • Navigate to Largest Memory Retainers' Tree - activates the Largest Memory Retainers view and locates the object in it.
  • Open diagram starting from this instance - opens the object in a new Paths To GC Roots tab.
  • Show instances in this group - valid only for group nodes. Opens a new Instances List view with the objects contained in the group.

See Also