Heap walker - Data view

## Heap walker - Data view |
| up | next

| The heap walker data view conforms to the basic layout of all heap walker views. Also see the help on key concepts for the entire heap walker.

| The heap walker instance data view shows the instance data and the class data of all instances of classes and arrays which are contained in the current object set. 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 order of the instances in the object set can be adjusted to unsorted The objects are in a random order. This is the default setting. sorted by shallow size Objects with a larger shallow size are displayed first. sorted by deep size Objects with a larger deep size are displayed first. After changing the sort order, the displayed index is set to one. The instance navigation is linked with the reference graph of the heap walker to allow you to easily switch back and forth between these views while keeping the focus on the same object.

| The data view of the heap walker offers two or more view modes that can be changed in the combo box at the top of the view: Instance data Shows the instance data for the current instance. Class data Shows the class data of the class or a particular super class of the current instance. There is one such view mode for each class in the class hierarchy.

| Above the main table, the shallow size and the deep size of the displayed instance are shown together with the class name. The deep size is calculated as the shallow size plus total size of all referenced objects. In extreme cases, this value may be a significant percentage of the entire heap.

| To be able to select multiple objects from the current object set and create a new object set from them, you can flag each instance with the checkbox at the top right corner of the data view. The menu button to the right of the checkbox allows you to clear all flags flag all instances up to the currently displayed instance The [Use ...] button above the table shows a popup where you can select all flagged as well as all unflagged instances (see below).

| To add a selection step from this view you can select an entry from the table that is either a `java.lang.String` object or if it has a `[reference]` value and click the [Use ...] button above the table and choose this instance from the popup menu. Alternatively, you can double click on the entry. An object set will be created that contains only the selected object. click the [Use ...] button above the table and choose this instance from the popup menu. An object set will be created that contains only the currently displayed instance. click the [Use ...] button above the table and choose flagged instance or unflagged instance from the popup menu. An object set will be created that contains only the flagged or unflagged instances. After your selection, the view helper dialog will assist you in choosing the appropriate view for the new object set.