public interface CompilationMXBean
ManagementFactory.getCompilationMXBean()
if a JIT is available. Otherwise, the method returns
null
.Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the name of the Just-In-Time (JIT) compiler.
|
long |
getTotalCompilationTime()
Returns the accumulated time, in milliseconds, that
the JIT compiler has spent compiling Java bytecodes
to native machine code.
|
boolean |
isCompilationTimeMonitoringSupported()
Returns true if the virtual machine's JIT compiler
supports monitoring of the time spent compiling.
|
String getName()
boolean isCompilationTimeMonitoringSupported()
long getTotalCompilationTime()
UnsupportedOperationException
- if time monitoring
is not supported.