APIdia Launch Partner
Top Description Fields Constructors Methods
sun.management

pack-priv Class CompilationImpl

extends Object
implements CompilationMXBean
Class Inheritance
All Implemented Interfaces
java.lang.management.CompilationMXBean, java.lang.management.PlatformManagedObject
Imports
java.lang.management.CompilationMXBean, .ManagementFactory, javax.management.ObjectName

Implementation class for the compilation subsystem. Standard and committed hotspot-specific metrics if any. ManagementFactory.getCompilationMXBean() returns an instance of this class.

Field Summary

Modifier and TypeField and Description
private final VMManagement
private final String

Constructor Summary

AccessConstructor and Description
pack-priv
CompilationImpl(VMManagement vm)

Constructor of CompilationImpl class.

Method Summary

Modifier and TypeMethod and Description
public String
getName()

Implements java.lang.management.CompilationMXBean.getName.

Returns the name of the Just-in-time (JIT) compiler.

public ObjectName
getObjectName()

Implements java.lang.management.PlatformManagedObject.getObjectName.

Returns an ObjectName instance representing the object name of this platform managed object.

public long
getTotalCompilationTime()

Implements java.lang.management.CompilationMXBean.getTotalCompilationTime.

Returns the approximate accumulated elapsed time (in milliseconds) spent in compilation.

public boolean
isCompilationTimeMonitoringSupported()

Implements java.lang.management.CompilationMXBean.isCompilationTimeMonitoringSupported.

Tests if the Java virtual machine supports the monitoring of compilation time.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

jvmback to summary
private final VMManagement jvm
nameback to summary
private final String name

Constructor Detail

CompilationImplback to summary
pack-priv CompilationImpl(VMManagement vm)

Constructor of CompilationImpl class.

Method Detail

getNameback to summary
public String getName()

Implements java.lang.management.CompilationMXBean.getName.

Doc from java.lang.management.CompilationMXBean.getName.

Returns the name of the Just-in-time (JIT) compiler.

getObjectNameback to summary
public ObjectName getObjectName()

Implements java.lang.management.PlatformManagedObject.getObjectName.

Doc from java.lang.management.PlatformManagedObject.getObjectName.

Returns an ObjectName instance representing the object name of this platform managed object.

getTotalCompilationTimeback to summary
public long getTotalCompilationTime()

Implements java.lang.management.CompilationMXBean.getTotalCompilationTime.

Doc from java.lang.management.CompilationMXBean.getTotalCompilationTime.

Returns the approximate accumulated elapsed time (in milliseconds) spent in compilation. If multiple threads are used for compilation, this value is summation of the approximate time that each thread spent in compilation.

This method is optionally supported by the platform. A Java virtual machine implementation may not support the compilation time monitoring. The isCompilationTimeMonitoringSupported method can be used to determine if the Java virtual machine supports this operation.

This value does not indicate the level of performance of the Java virtual machine and is not intended for performance comparisons of different virtual machine implementations. The implementations may have different definitions and different measurements of the compilation time.

isCompilationTimeMonitoringSupportedback to summary
public boolean isCompilationTimeMonitoringSupported()

Implements java.lang.management.CompilationMXBean.isCompilationTimeMonitoringSupported.

Doc from java.lang.management.CompilationMXBean.isCompilationTimeMonitoringSupported.

Tests if the Java virtual machine supports the monitoring of compilation time.