The heap walker view settings dialog is accessed by bringing
the
heap walker to front
and choosing
View->View Settings from JProfiler's main menu or clicking on
the corresponding toolbar button.
The General tab of the view settings dialog controls aspects which
apply to all heap walker views.
Show selection steps
If checked, the selection history window at the bottom of the heap walker is
shown.
Show view helper dialog for new object sets
If checked,
the view helper dialog
will be displayed when a new object set is created.
Note: Unlike for the allocation call tree, there is no "cumulate allocations"
option since the view mode combo box in the allocations view of the heap walker offers
both an
"allocation tree" and a "cumulated allocation tree".
Show object IDs
If checked, all objects are annotated with object IDs. This can help you to check
if an object is
the same as one displayed in another view.
Show retained size bar for dominator tree
If checked, a size bar will be shown in from of each outgoing reference node. The
size
base can be configured as
Top level object
The percentages refer to the retained size of the top level object. This is
the default setting.
Total heap
The percentages show how much of the total heap is retained by this reference.
The lengths of all size bars are always comparable with this option.
Show object IDs
If checked, all objects are annotated with object IDs. This can help you in checking
if two objects
in two different reference graphs are the same or not.
Show declaring class if different from actual class
In the incoming and outgoing reference tree views, the declaring class of a field
will be displayed
as well if it is different from the actual class or the object (i.e. the field has
been declared in a super-class).
Since this can add a lot of potentially distracting information to the reference trees,
you can switch it
off with this setting. In the reference graph, the declaring class is always displayed
in the tool tip on the
reference arrows.
Show fields with null values in outgoing reference view
By default, the outgoing reference view does not show fields that have a null value.
Under some circumstances
it can be useful to show null values, for example when you want to add a filter script
for a field that is
null most of the time or for debugging purposes.
Instance block size
The reference view only show a capped number of instances. This cap which is configurable
here,
has a default value of 100. Note that you can easily add more objects with the hyperlinks
at the bottom of the
reference tables.
Show object IDs
If checked, all objects are annotated with object IDs. This can help you in checking
if two objects
in two different reference graphs are the same or not.
Warning threshold for opening references
If an object has a lot of incoming or outgoing references, the graph can be visually
overwhelmed with new objects.
That's why JProfiler asks you if you really want to open a large number of references.
The default threshold which is configurable here is set to 100.