Class: sun.management.HotspotCompilation
- class HotspotCompilation
- implements HotspotCompilationMBean
Implementation class of HotspotCompilationMBean interface.
Internal, uncommitted management interface for Hotspot compilation
system.
Methods
-
HotspotCompilationtop
HotspotCompilation(VMManagement vm)Constructor of HotspotRuntime class. -
getBailoutCompileCounttop
public long getBailoutCompileCount()Returns the number of bailout compiles.- Specified by:
- getBailoutCompileCount from HotspotCompilationMBean
-
getCompiledMethodCodeSizetop
public long getCompiledMethodCodeSize()Returns the number of bytes for the code of the compiled methods.- Specified by:
- getCompiledMethodCodeSize from HotspotCompilationMBean
-
getCompiledMethodSizetop
public long getCompiledMethodSize()Returns the number of bytes occupied by the compiled methods.- Specified by:
- getCompiledMethodSize from HotspotCompilationMBean
-
getCompilerThreadCounttop
public int getCompilerThreadCount()Returns the number of compiler threads.- Specified by:
- getCompilerThreadCount from HotspotCompilationMBean
-
getCompilerThreadStatstop
public List<CompilerThreadStat> getCompilerThreadStats()Returns the statistic of all compiler threads.- Specified by:
- getCompilerThreadStats from HotspotCompilationMBean
-
getFailedCompiletop
public MethodInfo getFailedCompile()Returns the method information of the last failed compile.- Specified by:
- getFailedCompile from HotspotCompilationMBean
-
getInternalCompilerCounterstop
Returns a list of internal counters maintained in the Java virtual machine for the compilation system.- Specified by:
- getInternalCompilerCounters from HotspotCompilationMBean
-
getInvalidatedCompiletop
public MethodInfo getInvalidatedCompile()Returns the method information of the last invalidated compile.- Specified by:
- getInvalidatedCompile from HotspotCompilationMBean
-
getInvalidatedCompileCounttop
public long getInvalidatedCompileCount()Returns the number of invalidated compiles.- Specified by:
- getInvalidatedCompileCount from HotspotCompilationMBean
-
getLastCompiletop
public MethodInfo getLastCompile()Returns the method information of the last compiled method.- Specified by:
- getLastCompile from HotspotCompilationMBean
-
getTotalCompileCounttop
public long getTotalCompileCount()Returns the total number of compiles.- Specified by:
- getTotalCompileCount from HotspotCompilationMBean
-
initCompilerCounterstop
private void initCompilerCounters() -
lookuptop
Fields
-
CI_COUNTER_NAME_PATTERN
static final private String CI_COUNTER_NAME_PATTERN = "java.ci.|com.sun.ci.|sun.ci." -
COM_SUN_CI
static final private String COM_SUN_CI = "com.sun.ci." -
JAVA_CI
static final private String JAVA_CI = "java.ci." -
SUN_CI
static final private String SUN_CI = "sun.ci." -
compilerThreads
private LongCounter compilerThreads -
counters
-
jvm
private VMManagement jvm -
lastFailedMethod
private StringCounter lastFailedMethod -
lastFailedType
private LongCounter lastFailedType -
lastInvalidatedMethod
private StringCounter lastInvalidatedMethod -
lastInvalidatedType
private LongCounter lastInvalidatedType -
lastMethod
private StringCounter lastMethod -
lastSize
private LongCounter lastSize -
lastType
private LongCounter lastType -
nmethodCodeSize
private LongCounter nmethodCodeSize -
nmethodSize
private LongCounter nmethodSize -
numActiveThreads
private int numActiveThreads -
threads
private HotspotCompilation.CompilerThreadInfo[] threads -
totalBailouts
private LongCounter totalBailouts -
totalCompiles
private LongCounter totalCompiles -
totalInvalidates
private LongCounter totalInvalidates
