|
After an inspection has been calculated, the view change dialog
will be shown. By default, the reference view is recommended.
An inspection can partition the calculated object set into groups. Groups are shown in a table
at the top of the heap walker. Initially, the first row in the group table is selected. By changing the selection,
you change the current object set. For example, the "Duplicate strings" inspection shows the duplicate string values
as groups. If you are in the reference view, you can then see the java.lang.String instances with the
selected string value below.
Beside the group name column in the group table there are the following sortable columns:
-
Priority
Each inspection that creates groups decides which groups are most important in the context of the inspection.
Since this does not always correspond to a sort order of one of the other columns, the priority column
contains a numeric value that enforces that sort order. By default, the group table is sorted by this column.
-
Instance Count
The number of objects that are contained in the group. If you select the group, the current object set below will
have this number of objects.
-
Shallow Size
The combined shallow size of the objects that are contained in the group. If you select the group, the current
object set below will have this shallow size. For an explanation of sizes of object sets, please see the
heap walker overview.
You can search in the group table by typing into it or right-clicking it and
selecting the Find action from the context menu. The group table can be exported to
HTML or CSV, by choosing Export View from its context menu. Note that the group table
will not be exported when you export the current heap walker view with the export action in the tool bar.
The group selection is not a separate selection step in the heap walker, but it becomes part of the selection
step made by the inspection. You can see the group selection in the selection step pane at the bottom.
When you change the group selection, the selection step pane is updated immediately.
|