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.