Java in a Nutshell, 5th Edition [Electronic resources]

نسخه متنی -صفحه : 1191/ 304
نمايش فراداده

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