public interface CompilationMXBean extends PlatformManagedObject
If the virtual machine has a compilation system enabled, precisely one
instance of this interface will be made available to management clients.
Otherwise, there will be no instances of this MXBean available.
Accessing this MXBean can be done in one of three ways.
ManagementFactory.newPlatformMXBeanProxy(javax.management.MBeanServerConnection, java.lang.String, java.lang.Class<T>)
method, passing in the string "java.lang:type=Compilation" for
the value of the second parameter.
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns the name of the virtual machine's Just In Time (JIT) compiler.
|
long |
getTotalCompilationTime()
If supported (see
isCompilationTimeMonitoringSupported()),
returns the total number of milliseconds spent by the virtual
machine performing compilations. |
boolean |
isCompilationTimeMonitoringSupported()
A boolean indication of whether or not the virtual machine supports the
timing of its compilation facilities.
|
getObjectNameString getName()
long getTotalCompilationTime()
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.UnsupportedOperationException - if the virtual machine does not support compilation
monitoring. This can be tested by calling the
isCompilationTimeMonitoringSupported() method.boolean isCompilationTimeMonitoringSupported()
true if compilation timing is supported, otherwise
false.Eclipse OpenJ9 website.
To raise a bug report or suggest an improvement create an Eclipse OpenJ9 issue.
Copyright © 1993, 2025 IBM Corp. and others.
DRAFT internal-b00