Name

CompilationMXBean

Synopsis

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( )

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.