Heap Walker Reference View - Tree of Incoming References |
|
There is always one instance visible at a time whose class name or array type is
given above the field table. Above the upper right corner of the table,
navigation controls allow to move back and
forth through all the instances or arrays in the current object set.
The instance navigation is linked among the following views of the heap walker: This allows you to easily switch back and forth between these views while keeping the focus on the same object. |
|
The order of the instances in the object set can be adjusted to
Please see the key concepts of the heap walker for an explanation of the different size types. Sorting can take a few seconds, depending on the size of the heap. A progress dialog is shown while the objects are sorted. After changing the sort order, the displayed index is set to one. |
|
Above the main view, the the following additional information is displayed:
Please see the key concepts of the heap walker for an explanation of the different size types. |
|
Each reference node has one or two icons. The first icon is one of
The second icon is either not present or one of
|
|
To check why an instance is not garbage collected, you can select it and use the
Show paths to GC root
button in the view-specific toolbar or the corresponding entry in the context menu.
A dialog will ask you whether to search for a single garbage collector root or for all roots. After that, the paths to root are searched. A progress dialog is shown while the paths to root are calculated.
reference icon. To highlight the found path
without any distractions, no sibling references are shown on that level. To show all sibling references, you can
either choose the Show all incoming references action from the context menu or
View menu or collapse and expand the parent node.
|
| Each object is optionally annotate with an object ID. With this ID, you can check whether two objects are the same or not. The display of IDs can be switched of the the context menu, the View menu and the view settings of the heap walker. |
|
To add a selection step from this view you can select one or multiple objects and click the
[Use ...] button above the graph and choose in the popup menu. There is a corresponding entry
in the context menu. Multiple objects are selected by keeping the SHIFT key pressed during selection.
The following selection modes are available:
After your selection, the view helper dialog will assist you in choosing the appropriate view for the new object set. |