Skip Headers
Previous
Previous
 
Next
Next

Finding the Garbage Collection Root

You can see all referring nodes for an instance by expanding nodes one at a time or automatically expand the shortest path to a garbage collection root. Table: Locating a Suspected Reference describes ways to locate the garbage collection root.

Locating a Suspected Reference

To... Do this...

Automatically expand the shortest path to a garbage collection root (recommended)

  1. Right-click the darkest-colored node.

    A context menu appears.

  2. Select Expand to Root.

    The node expands to reveal at least one path to a garbage collection root.

Display referring nodes a few at time

  1. Locate the darkest-colored node.

  2. Click the plus sign at the left end of that node.

    A few nodes referring to that one will appear. The number of nodes that appear is configurable from the Preferences dialog box.

  3. Continue clicking the plus signs in the darkest colored nodes as they appear.

Display all referring nodes at once

  1. Right-click the darkest-colored node.

    A context menu appears.

  2. Select Expand All Nodes.

    The node expands to show all referring nodes.