com.ibm.lang.management
Class CompilationMXBeanImpl
- java.lang.Object
com.ibm.lang.management.DynamicMXBeanImpl
com.ibm.lang.management.CompilationMXBeanImpl
All implemented interfaces:
java.lang.management.CompilationMXBean, javax.management.DynamicMBean
- public final class CompilationMXBeanImpl
- extends DynamicMXBeanImpl
- implements java.lang.management.CompilationMXBean
CompilationMXBean
Since:
1.5
Field Summary
| Fields inherited from class com.ibm.lang.management.DynamicMXBeanImpl |
|---|
info |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
getName()
|
|
getTotalCompilationTime()
|
|
isCompilationTimeMonitoringSupported()
|
| Methods inherited from class com.ibm.lang.management.DynamicMXBeanImpl |
|---|
getAttribute, getAttributes, getMBeanInfo, getPresentAttribute, getPresentOperation, initMBeanInfo, invoke, setAttribute, setAttributes, setMBeanInfo |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail
getName
- public java.lang.String getName( )
Returns the name of the virtual machine's Just In Time (JIT) compiler.
Specified by:
getName in interface java.lang.management.CompilationMXBean
Returns:
the name of the JIT compiler
getTotalCompilationTime
- public long getTotalCompilationTime( )
Description copied from interface:
java.lang.management.CompilationMXBean
If supported (see
CompilationMXBean.isCompilationTimeMonitoringSupported()),
returns the total number of milliseconds spent by the virtual
machine performing compilations. The figure is taken over the lifetime of
the virtual machine.
Specified by:
getTotalCompilationTime in interface java.lang.management.CompilationMXBean
Returns:
the compilation time in milliseconds
isCompilationTimeMonitoringSupported
- public boolean isCompilationTimeMonitoringSupported( )
Description copied from interface:
java.lang.management.CompilationMXBean
A boolean indication of whether or not the virtual machine supports the
timing of its compilation facilities.
Specified by:
isCompilationTimeMonitoringSupported in interface java.lang.management.CompilationMXBean
Returns:
true if compilation timing is supported, otherwise
false.
java.lang.management.CompilationMXBean