APIdia Launch Partner
Top Description Fields Constructors Methods
sun.management

pack-priv Class HotspotCompilation

extends Object
implements HotspotCompilationMBean
Class Inheritance
All Implemented Interfaces
sun.management.HotspotCompilationMBean
Imports
java.util.List, .ArrayList, .Map, .TreeMap, sun.management.counter.*

Implementation class of HotspotCompilationMBean interface. Internal, uncommitted management interface for Hotspot compilation system.

Field Summary

Modifier and TypeField and Description
private static final String
private static final String
private LongCounter
private Map<String, Counter>
private static final String
private VMManagement
private StringCounter
private LongCounter
private StringCounter
private LongCounter
private StringCounter
private LongCounter
private LongCounter
private LongCounter
private LongCounter
private int
private static final String
private LongCounter
private LongCounter
private LongCounter

Constructor Summary

AccessConstructor and Description
pack-priv
HotspotCompilation(VMManagement vm)

Constructor of HotspotRuntime class.

Method Summary

Modifier and TypeMethod and Description
public long
public long
getCompiledMethodCodeSize()

Implements sun.management.HotspotCompilationMBean.getCompiledMethodCodeSize.

Returns the number of bytes for the code of the compiled methods.

public long
getCompiledMethodSize()

Implements sun.management.HotspotCompilationMBean.getCompiledMethodSize.

Returns the number of bytes occupied by the compiled methods.

public int
public MethodInfo
getFailedCompile()

Implements sun.management.HotspotCompilationMBean.getFailedCompile.

Returns the method information of the last failed compile.

public List<Counter>
getInternalCompilerCounters()

Implements sun.management.HotspotCompilationMBean.getInternalCompilerCounters.

Returns a list of internal counters maintained in the Java virtual machine for the compilation system.

public MethodInfo
getInvalidatedCompile()

Implements sun.management.HotspotCompilationMBean.getInvalidatedCompile.

Returns the method information of the last invalidated compile.

public long
public MethodInfo
getLastCompile()

Implements sun.management.HotspotCompilationMBean.getLastCompile.

Returns the method information of the last compiled method.

public long
getTotalCompileCount()

Implements sun.management.HotspotCompilationMBean.getTotalCompileCount.

Returns the total number of compiles.

private void
private Counter
lookup(String name)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

CI_COUNTER_NAME_PATTERNback to summary
private static final String CI_COUNTER_NAME_PATTERN
COM_SUN_CIback to summary
private static final String COM_SUN_CI
compilerThreadsback to summary
private LongCounter compilerThreads
countersback to summary
private Map<String, Counter> counters
JAVA_CIback to summary
private static final String JAVA_CI
jvmback to summary
private VMManagement jvm
lastFailedMethodback to summary
private StringCounter lastFailedMethod
lastFailedTypeback to summary
private LongCounter lastFailedType
lastInvalidatedMethodback to summary
private StringCounter lastInvalidatedMethod
lastInvalidatedTypeback to summary
private LongCounter lastInvalidatedType
lastMethodback to summary
private StringCounter lastMethod
lastSizeback to summary
private LongCounter lastSize
lastTypeback to summary
private LongCounter lastType
nmethodCodeSizeback to summary
private LongCounter nmethodCodeSize
nmethodSizeback to summary
private LongCounter nmethodSize
numActiveThreadsback to summary
private int numActiveThreads
SUN_CIback to summary
private static final String SUN_CI
totalBailoutsback to summary
private LongCounter totalBailouts
totalCompilesback to summary
private LongCounter totalCompiles
totalInvalidatesback to summary
private LongCounter totalInvalidates

Constructor Detail

HotspotCompilationback to summary
pack-priv HotspotCompilation(VMManagement vm)

Constructor of HotspotRuntime class.

Method Detail

getBailoutCompileCountback to summary
public long getBailoutCompileCount()

Implements sun.management.HotspotCompilationMBean.getBailoutCompileCount.

Doc from sun.management.HotspotCompilationMBean.getBailoutCompileCount.

Returns the number of bailout compiles.

getCompiledMethodCodeSizeback to summary
public long getCompiledMethodCodeSize()

Implements sun.management.HotspotCompilationMBean.getCompiledMethodCodeSize.

Doc from sun.management.HotspotCompilationMBean.getCompiledMethodCodeSize.

Returns the number of bytes for the code of the compiled methods.

getCompiledMethodSizeback to summary
public long getCompiledMethodSize()

Implements sun.management.HotspotCompilationMBean.getCompiledMethodSize.

Doc from sun.management.HotspotCompilationMBean.getCompiledMethodSize.

Returns the number of bytes occupied by the compiled methods.

getCompilerThreadCountback to summary
public int getCompilerThreadCount()

Implements sun.management.HotspotCompilationMBean.getCompilerThreadCount.

Doc from sun.management.HotspotCompilationMBean.getCompilerThreadCount.

Returns the number of compiler threads.

getFailedCompileback to summary
public MethodInfo getFailedCompile()

Implements sun.management.HotspotCompilationMBean.getFailedCompile.

Doc from sun.management.HotspotCompilationMBean.getFailedCompile.

Returns the method information of the last failed compile.

getInternalCompilerCountersback to summary
public List<Counter> getInternalCompilerCounters()

Implements sun.management.HotspotCompilationMBean.getInternalCompilerCounters.

Doc from sun.management.HotspotCompilationMBean.getInternalCompilerCounters.

Returns a list of internal counters maintained in the Java virtual machine for the compilation system.

getInvalidatedCompileback to summary
public MethodInfo getInvalidatedCompile()

Implements sun.management.HotspotCompilationMBean.getInvalidatedCompile.

Doc from sun.management.HotspotCompilationMBean.getInvalidatedCompile.

Returns the method information of the last invalidated compile.

getInvalidatedCompileCountback to summary
public long getInvalidatedCompileCount()

Implements sun.management.HotspotCompilationMBean.getInvalidatedCompileCount.

Doc from sun.management.HotspotCompilationMBean.getInvalidatedCompileCount.

Returns the number of invalidated compiles.

getLastCompileback to summary
public MethodInfo getLastCompile()

Implements sun.management.HotspotCompilationMBean.getLastCompile.

Doc from sun.management.HotspotCompilationMBean.getLastCompile.

Returns the method information of the last compiled method.

getTotalCompileCountback to summary
public long getTotalCompileCount()

Implements sun.management.HotspotCompilationMBean.getTotalCompileCount.

Doc from sun.management.HotspotCompilationMBean.getTotalCompileCount.

Returns the total number of compiles.

initCompilerCountersback to summary
private void initCompilerCounters()
lookupback to summary
private Counter lookup(String name)