Team LiB
Previous Section Next Section

CompilationMXBeanjava.lang.management

Java 5.0

This MXBean interface defines methods for querying the just-in-time compiler of the Java virtual machine. getName( ) returns an identifying name for the compiler. If the implementation tracks compilation time, getTotalCompilationTime( ) returns the approximate total compilation time in milliseconds.

public interface CompilationMXBean {
// Public Instance Methods
     String getName( );  
     long getTotalCompilationTime( );  
     boolean isCompilationTimeMonitoringSupported( );  
}

Returned By

ManagementFactory.getCompilationMXBean( )

    Team LiB
    Previous Section Next Section