|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CompilationMXBean
Provides access to information about the Just-In-Time
(JIT) compiler provided by the virtual machine, if one
exists. An instance of this bean is obtainable by
calling ManagementFactory.getCompilationMXBean()
if a JIT is available. Otherwise, the method returns
null
.
Method Summary | |
---|---|
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. |
Method Detail |
---|
String getName()
boolean isCompilationTimeMonitoringSupported()
long getTotalCompilationTime()
UnsupportedOperationException
- if time monitoring
is not supported.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |