APIdia Launch Partner
Top Description Methods
sun.management

public Interface HotspotClassLoadingMBean

Known Direct Implementers
sun.management.HotspotClassLoading
Imports
java.lang.management.ClassLoadingMXBean, sun.management.counter.Counter

Hotspot internal management interface for the class loading system. This management interface is internal and uncommitted and subject to change without notice.

Method Summary

Modifier and TypeMethod and Description
public long

Returns:

the accumulated elapsed time spent in class initializers in milliseconds.
getClassInitializationTime
()

Returns the accumulated elapsed time spent in class initializers in milliseconds.

public long

Returns:

the accumulated elapsed time spent by class loading in milliseconds.
getClassLoadingTime
()

Returns the accumulated elapsed time spent by class loading in milliseconds.

public long

Returns:

the accumulated elapsed time spent in class verifier in milliseconds.
getClassVerificationTime
()

Returns the accumulated elapsed time spent in class verifier in milliseconds.

public long

Returns:

the number of classes for which initializers were run.
getInitializedClassCount
()

Returns the number of classes for which initializers were run.

public List<Counter>

Returns:

a list of internal counters maintained in the VM for the class loading system.
getInternalClassLoadingCounters
()

Returns a list of internal counters maintained in the Java virtual machine for the class loading system.

public long

Returns:

the amount of memory in bytes occupied by loaded classes in the Java virtual machine.
getLoadedClassSize
()

Returns the amount of memory in bytes occupied by loaded classes in the Java virtual machine.

public long

Returns:

the amount of memory in bytes occupied by the method data.
getMethodDataSize
()

Returns the amount of memory in bytes occupied by the method data.

public long

Returns:

the number of bytes that the VM collected due to class unloading.
getUnloadedClassSize
()

Returns the number of bytes that the Java virtual machine collected due to class unloading.

Method Detail

getClassInitializationTimeback to summary
public long getClassInitializationTime()

Returns the accumulated elapsed time spent in class initializers in milliseconds.

Returns:long

the accumulated elapsed time spent in class initializers in milliseconds.

getClassLoadingTimeback to summary
public long getClassLoadingTime()

Returns the accumulated elapsed time spent by class loading in milliseconds.

Returns:long

the accumulated elapsed time spent by class loading in milliseconds.

getClassVerificationTimeback to summary
public long getClassVerificationTime()

Returns the accumulated elapsed time spent in class verifier in milliseconds.

Returns:long

the accumulated elapsed time spent in class verifier in milliseconds.

getInitializedClassCountback to summary
public long getInitializedClassCount()

Returns the number of classes for which initializers were run.

Returns:long

the number of classes for which initializers were run.

getInternalClassLoadingCountersback to summary
public List<Counter> getInternalClassLoadingCounters()

Returns a list of internal counters maintained in the Java virtual machine for the class loading system.

Returns:List<Counter>

a list of internal counters maintained in the VM for the class loading system.

getLoadedClassSizeback to summary
public long getLoadedClassSize()

Returns the amount of memory in bytes occupied by loaded classes in the Java virtual machine.

Returns:long

the amount of memory in bytes occupied by loaded classes in the Java virtual machine.

getMethodDataSizeback to summary
public long getMethodDataSize()

Returns the amount of memory in bytes occupied by the method data.

Returns:long

the amount of memory in bytes occupied by the method data.

getUnloadedClassSizeback to summary
public long getUnloadedClassSize()

Returns the number of bytes that the Java virtual machine collected due to class unloading.

Returns:long

the number of bytes that the VM collected due to class unloading.