The class data table is one of the
view modes in the
data view
of the
heap walker.
-
The main table in the class data table first lists
-
the static fields of the current class
-
the constant pool entries which are references
-
the interface references
Each class has implicit JVM level references to all implemented interfaces.
-
the classloader of this class
This is an implicit JVM level reference which is null if the class has been loaded
by the bootstrap classloader. By selecting this reference you can go from a class to its classloader.
There are three columns shown in the table, which can be
sorted. Note that sorting
by number always keeps static fields and constant pool references together.
-
Number
Shows the number of the entry in its category.
-
Field name
Shows type and name for the static fields or the corresponding category name.
-
Value
Shows the value of the field as
-
the explicit contents of the field for primitive field types
and instances of java.lang.String. This data is available
depending on the profiling interface:
-
>= Java 1.5 (JVMTI)
Primitive data is requested on demand, since it is an expensive operation to collect all
primitive data with JVMTI. This means that primitive data does not reflect the state
of the object at the time of the snapshot. If the object has been garbage collected in the meantime,
N/A will be displayed.
-
<= Java 1.4.2 (JVMPI)
If the Record primitive data option has been checked in the
heap walker options dialog,
the value at the time of the snapshot is displayed.
Otherwise, N/A will always be displayed.
-
[reference] for non-primitive field types which hold a live reference.
-
null for non-primitive field types which are empty.
No specific view settings apply to the class data view.
-
Please see the help on the data view
for how to perform selection steps from this view.