public class JITCompiler extends java.lang.Object implements JITCompilerMBean
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
RUBY_JIT_PREFIX |
| Constructor and Description |
|---|
JITCompiler(Ruby runtime) |
| Modifier and Type | Method and Description |
|---|---|
void |
buildThresholdReached(ThreadContext context,
Compilable method) |
long |
getAbandonCount() |
long |
getCodeAverageSize() |
long |
getCodeLargestSize() |
long |
getCodeSize() |
long |
getCompileCount() |
long |
getCompileTime() |
long |
getCompileTimeAverage() |
long |
getFailCount() |
java.lang.String[] |
getFrameAwareMethods() |
static java.lang.String |
getHashForBytes(byte[] bytes) |
static java.lang.String |
getHashForString(java.lang.String str) |
long |
getIRAverageSize() |
long |
getIRLargestSize() |
long |
getIRSize() |
java.lang.String[] |
getScopeAwareMethods() |
long |
getSuccessCount() |
java.lang.Runnable |
getTaskFor(ThreadContext context,
Compilable method) |
boolean |
isShutdown()
Return the shutdown status of the JIT compiler.
|
void |
shutdown()
Shut down this JIT compiler and its resources.
|
void |
tearDown() |
public static final java.lang.String RUBY_JIT_PREFIX
public JITCompiler(Ruby runtime)
public long getSuccessCount()
getSuccessCount in interface JITCompilerMBeanpublic long getCompileCount()
getCompileCount in interface JITCompilerMBeanpublic long getFailCount()
getFailCount in interface JITCompilerMBeanpublic long getCompileTime()
getCompileTime in interface JITCompilerMBeanpublic long getAbandonCount()
getAbandonCount in interface JITCompilerMBeanpublic long getCodeSize()
getCodeSize in interface JITCompilerMBeanpublic long getCodeAverageSize()
getCodeAverageSize in interface JITCompilerMBeanpublic long getCompileTimeAverage()
getCompileTimeAverage in interface JITCompilerMBeanpublic long getCodeLargestSize()
getCodeLargestSize in interface JITCompilerMBeanpublic long getIRSize()
getIRSize in interface JITCompilerMBeanpublic long getIRAverageSize()
getIRAverageSize in interface JITCompilerMBeanpublic long getIRLargestSize()
getIRLargestSize in interface JITCompilerMBeanpublic java.lang.String[] getFrameAwareMethods()
getFrameAwareMethods in interface JITCompilerMBeanpublic java.lang.String[] getScopeAwareMethods()
getScopeAwareMethods in interface JITCompilerMBeanpublic void tearDown()
public void shutdown()
public boolean isShutdown()
public java.lang.Runnable getTaskFor(ThreadContext context, Compilable method)
public void buildThresholdReached(ThreadContext context, Compilable method)
public static java.lang.String getHashForString(java.lang.String str)
public static java.lang.String getHashForBytes(byte[] bytes)
Copyright © 2001-2019 JRuby. All Rights Reserved.