public class JITCompiler extends Object implements JITCompilerMBean
| Modifier and Type | Field and Description |
|---|---|
static 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() |
String[] |
getFrameAwareMethods() |
static String |
getHashForBytes(byte[] bytes) |
static String |
getHashForString(String str) |
long |
getIRAverageSize() |
long |
getIRLargestSize() |
long |
getIRSize() |
String[] |
getScopeAwareMethods() |
long |
getSuccessCount() |
Runnable |
getTaskFor(ThreadContext context,
Compilable method) |
void |
tearDown() |
public static final 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 String[] getFrameAwareMethods()
getFrameAwareMethods in interface JITCompilerMBeanpublic String[] getScopeAwareMethods()
getScopeAwareMethods in interface JITCompilerMBeanpublic void tearDown()
public Runnable getTaskFor(ThreadContext context, Compilable method)
public void buildThresholdReached(ThreadContext context, Compilable method)
public static String getHashForBytes(byte[] bytes)
Copyright © 2001-2017 JRuby. All Rights Reserved.