public interface

HotspotClassLoadingMBean

sun.management.HotspotClassLoadingMBean

Class Overview

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

Summary

Public Methods
abstract long getClassInitializationTime()
Returns the accumulated elapsed time spent in class initializers in milliseconds.
abstract long getClassLoadingTime()
Returns the accumulated elapsed time spent by class loading in milliseconds.
abstract long getClassVerificationTime()
Returns the accumulated elapsed time spent in class verifier in milliseconds.
abstract long getInitializedClassCount()
Returns the number of classes for which initializers were run.
abstract List<Counter> getInternalClassLoadingCounters()
Returns a list of internal counters maintained in the Java virtual machine for the class loading system.
abstract long getLoadedClassSize()
Returns the amount of memory in bytes occupied by loaded classes in the Java virtual machine.
abstract long getMethodDataSize()
Returns the amount of memory in bytes occupied by the method data.
abstract long getUnloadedClassSize()
Returns the number of bytes that the Java virtual machine collected due to class unloading.

Public Methods

public abstract long getClassInitializationTime ()

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

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

public abstract long getClassLoadingTime ()

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

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

public abstract long getClassVerificationTime ()

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

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

public abstract long getInitializedClassCount ()

Returns the number of classes for which initializers were run.

Returns
  • the number of classes for which initializers were run.

public abstract List<Counter> getInternalClassLoadingCounters ()

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

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

public abstract long getLoadedClassSize ()

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

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

public abstract long getMethodDataSize ()

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

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

public abstract long getUnloadedClassSize ()

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

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