Heap walker - classes

  
  up  


  The heap walker classes view conforms to the basic layout of all heap walker views. Also see the help on key concepts for the entire heap walker.
  The functionality of the classes view is identical to that of the class monitor view except that it is static with respect to the current snapshot and only instances of classes and arrays in the current object set are shown.

The classes view shows the list of all classes and arrays types together with the number of instances which are allocated on the heap. There are three columns shown in the table, which can be sorted.

  • Name
    Shows the name of the class or the array type. The notation <class>[] stands for non-primitive arrays of any class type. A further distinction is not possible due to the nature of Java bytecode.
  • Instance count
    Shows how many instances are currently allocated on the heap. This instance count is displayed graphically as well.
  • Size
    Shows the total size of all allocated instances. Note that this is the shallow size which does not include the size of referenced arrays and instances but only the size of the corresponding pointers. The size is in bytes and includes only the object data, it does not include internal JVM structures for the class, nor does it include class data or local variables.

No specific view settings apply to the classes view.

  To add a selection step from this view you can
  • select one or multiple classes or array types from the table and click the [Use selected] button above the table.
  • double click on a single class or array type.
A new object set will be created that contains only the instances of the selected classed or array types. After your selection, the view helper dialog will assist you in choosing the appropriate view for the new object set.