Object References table

The Object References table displays references to or from a set of objects. This is useful to study data structures, to find memory leaks, and to find unexpected references.

To display information on this table, you first need to run Collect Object References on the active process (right click on the active process, then select Collect Object References).

Display

The Show Reference To/By column displays a tree.  The first level of the tree shows the classes loaded by the application. At this level, the Size column shows the active size for the corresponding classes.  The content of the display differs depending on whether Show Reference To or Show Reference By is chosen.

Show Reference To

Displays a tree of objects referenced by the selected class objects. As you go deeper in the tree, each successive level shows the objects referenced by the previous ones. 

Here is an example of the table with Show Reference To selected:
 

Show Reference By

Displays a tree of objects referencing the selected class objects. As you go deeper in the tree, each successive level show the objects referencing the previous ones.

Here is an example of the table with Show Reference By selected:

Controls

The Object References Table controls consist of:

Toolbar controls

From the toolbar you can do the following:

Open Source Open source icon
Opens the source of a selected item.
Menu Open drop down menu icon
Select either Show Reference By or Show Reference To.

Filtering

The table provides filtering based on the name of the reference.  Use the Filter field to specify a string pattern. 

Table controls

Click the title of a column to sort it. Click the title of the column again to sort it in reverse order. The title of the column is prefixed with < if the column is sorted in ascending order or with > if it is sorted in descending order.

Type a letter and the table repositions itself to the next object starting with that letter.

Pop up control

Pop up menu on Object References Table containing selections described below

The pop up provides the following choices:

Refresh Views
To update all Profiling and Logging views.
Choose Columns
To select which columns should be hidden and visible.  These are the choices:

Choose Columns dialog showing possible columns

Use Up and Down to rearrange the position of the columns: the topmost column will appear leftmost in the table.

 

Related concepts
Overview of the Profiling Tool
Profiling resources

Related tasks
Profiling an application
Identifying memory leaks 
Finding a memory leak in a transaction-oriented operation