This class is not part of the public API.

Class: sun.management.ClassLoadingImpl

Implementation class for the class loading subsystem. Standard and committed hotspot-specific metrics if any. ManagementFactory.getClassLoadingMXBean() returns an instance of this class.

Inheritance

Superclass tree: Implements:

Methods

  • ClassLoadingImpltop

    ClassLoadingImpl(VMManagement vm)
    Constructor of ClassLoadingImpl class.
    Google Code Search
    Stack Overflow
  • getLoadedClassCounttop

    public int getLoadedClassCount()
    Returns the number of classes that are currently loaded in the Java virtual machine.
    Return:
    @return the number of currently loaded classes.
    Google Code Search
    Stack Overflow
  • getTotalLoadedClassCounttop

    public long getTotalLoadedClassCount()
    Returns the total number of classes that have been loaded since the Java virtual machine has started execution.
    Return:
    @return the total number of classes loaded.
    Google Code Search
    Stack Overflow
  • getUnloadedClassCounttop

    public long getUnloadedClassCount()
    Returns the total number of classes unloaded since the Java virtual machine has started execution.
    Return:
    @return the total number of unloaded classes.
    Google Code Search
    Stack Overflow
  • isVerbosetop

    public boolean isVerbose()
    Tests if the verbose output for the class loading system is enabled.
    Return:
    @return true if the verbose output for the class loading system is enabled; false otherwise.
    Specified by:
    isVerbose from ClassLoadingMXBean
    Google Code Search
    Stack Overflow
  • setVerbosetop

    public void setVerbose(boolean value)
    Enables or disables the verbose output for the class loading system. The verbose output information and the output stream to which the verbose information is emitted are implementation dependent. Typically, a Java virtual machine implementation prints a message each time a class file is loaded.

    This method can be called by multiple threads concurrently. Each invocation of this method enables or disables the verbose output globally.

    Parameters:
    @param value true to enable the verbose output; false to disable.
    Specified by:
    setVerbose from ClassLoadingMXBean
    Google Code Search
    Stack Overflow
  • setVerboseClasstop

    static native void setVerboseClass(boolean value)
    Google Code Search
    Stack Overflow

Fields