The Object Reference Graph view

The Object Reference Graph view shows the referential relationship of objects in a graph.

To open the Object Reference Graph view, right-click a profiling resource entry in the Profiling Monitor and select Open With > Object Reference Graph from the pop-up menu. .

Here are some tips for using the graph:

The Object Reference Graph view can display the following information when you pause your cursor over items in the graph:

Data item Description
Object The name of the object. If the object is ungrouped (a single instance of a Java class), the name is followed by an instance identifier.
Size The size of the object, measured in bytes. If the object is grouped (all instances of a specific Java class), this number is a sum for all instances in the group.
References The number of objects referenced by the selected object. If the object is grouped, this number is the sum for all instances in the group.
Referers The number of objects that reference the selected object. If the object is grouped, this number is a sum for all instances in the group.
Count For a grouped object, the number of instances in the group. The count for an ungrouped object is always 1. For a path segment, the number of references from the referencing (From) node to the referee (To) node.
From For a path segment, the name of the referencing object. If the object is ungrouped (a single instance of a Java class), the name is followed by a instance identifier.
To For a path segment, the name of the referee object. If the object is ungrouped (a single instance of a Java class), the name is followed by a instance identifier.
Propagated Memory For a path segment, the Size of the referenced node.

The following icons indicate whether all or only some objects referenced from an object are visible in the graph:

Icon Description

No visible descendants icon

No referenced objects are visible. Click to expand all immediate descendants.

Some immediate descendants visible icon

Only some of the referenced objects are visible. Click to expand all immediate descendants.

All immediate descendants visible icon

All referenced objects are visible. Click to collapse all descendants.

The following controls and menu commands appear in the Object Reference Graph view::

Control Command Description

Redo Layout button

Redo Layout Redraws the graph in the default layout.

Object Reference Graph overview toggle button

Toggle Overview Displays or hides the graph overview.

Show Object Details button

Show Object Details Opens the Object Details view for the currently selected object.

Find Object button

Find Object... Lets you specify an object name to locate within the graph.

Open Colors dialog box button

Graph Colors... Lets you change the colors used in the graph.

Navigate back button

Navigate Back In the node selection history, navigates to the previously selected node.

Navigate forward button

Navigate Forward In the node selection history, navigates to the next selected node.
Pull-down menu Object Name... Lets you change how object names are displayed in the Object Details and the Object Reference Graph views.
Pop-up menu Expand/Collapse Displays or hides the descendants of an object. For more information, see Object Reference Graph data commands.
Pop-up menu Filter Includes or excludes objects from the analysis data set. For more information, see Object Reference Graph data commands.
Pop-up menu Subtree Hides, deletes, or focuses on a reference subtree. For more information, see Object Reference Graph data commands.
Pop-up menu Open Source When source code for the selected method is available, opens the source file in the default editor.
Highlight drop-down list Highlight objects Highlights objects based upon criteria you select in the list. For more information, see Object Reference Graph data commands.
Zoom slider Zoom the graph Changes the scale of the graph.

Note: Right-click in the Object Reference Graph view to display a pop-up menu for working with graph.

 

Parent topic

Memory leak analysis user interface reference

 

Related tasks

Identifying memory leaks

Related reference
Object Reference Graph data commands
Object Reference Graph view Preferences pages
Automatic Leak Detection page, Edit Profiling Set dialog box
The Object Details view