public class JITCompiler extends Object implements JITCompilerMBean
| Modifier and Type | Class and Description |
|---|---|
static class |
JITCompiler.JITClassGenerator |
static class |
JITCompiler.JITCounts |
| Modifier and Type | Field and Description |
|---|---|
static String |
CLASS_METHOD_DELIMITER |
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 |
getAverageCodeSize() |
long |
getAverageCompileTime() |
long |
getCodeSize() |
long |
getCompileCount() |
long |
getCompileTime() |
long |
getFailCount() |
static String |
getHashForBytes(byte[] bytes) |
static String |
getHashForString(String str) |
long |
getLargestCodeSize() |
long |
getSuccessCount() |
Runnable |
getTaskFor(ThreadContext context,
Compilable method) |
void |
tearDown() |
public static final String RUBY_JIT_PREFIX
public static final String CLASS_METHOD_DELIMITER
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 getAverageCodeSize()
getAverageCodeSize in interface JITCompilerMBeanpublic long getAverageCompileTime()
getAverageCompileTime in interface JITCompilerMBeanpublic long getLargestCodeSize()
getLargestCodeSize 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-2015 JRuby. All Rights Reserved.