Class: sun.management.HotspotClassLoading
- class HotspotClassLoading
- implements HotspotClassLoadingMBean
Implementation class of HotspotClassLoadingMBean interface.
Internal, uncommitted management interface for Hotspot class loading
system.
Methods
-
HotspotClassLoadingtop
HotspotClassLoading(VMManagement vm)Constructor of HotspotClassLoading class. -
getClassInitializationTimetop
public long getClassInitializationTime()Returns the accumulated elapsed time spent in class initializers in milliseconds.- Specified by:
- getClassInitializationTime from HotspotClassLoadingMBean
-
getClassLoadingTimetop
public long getClassLoadingTime()Returns the accumulated elapsed time spent by class loading in milliseconds.- Specified by:
- getClassLoadingTime from HotspotClassLoadingMBean
-
getClassVerificationTimetop
public long getClassVerificationTime()Returns the accumulated elapsed time spent in class verifier in milliseconds.- Specified by:
- getClassVerificationTime from HotspotClassLoadingMBean
-
getInitializedClassCounttop
public long getInitializedClassCount()Returns the number of classes for which initializers were run.- Specified by:
- getInitializedClassCount from HotspotClassLoadingMBean
-
getInternalClassLoadingCounterstop
Returns a list of internal counters maintained in the Java virtual machine for the class loading system.- Specified by:
- getInternalClassLoadingCounters from HotspotClassLoadingMBean
-
getLoadedClassSizetop
public long getLoadedClassSize()Returns the amount of memory in bytes occupied by loaded classes in the Java virtual machine.- Specified by:
- getLoadedClassSize from HotspotClassLoadingMBean
-
getMethodDataSizetop
public long getMethodDataSize()Returns the amount of memory in bytes occupied by the method data.- Specified by:
- getMethodDataSize from HotspotClassLoadingMBean
-
getUnloadedClassSizetop
public long getUnloadedClassSize()Returns the number of bytes that the Java virtual machine collected due to class unloading.- Specified by:
- getUnloadedClassSize from HotspotClassLoadingMBean
Fields
-
CLS_COUNTER_NAME_PATTERN
static final private String CLS_COUNTER_NAME_PATTERN = "java.cls.|com.sun.cls.|sun.cls." -
COM_SUN_CLS
static final private String COM_SUN_CLS = "com.sun.cls." -
JAVA_CLS
static final private String JAVA_CLS = "java.cls." -
SUN_CLS
static final private String SUN_CLS = "sun.cls." -
jvm
private VMManagement jvm
