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 JITCompilerMBean
public long getCompileCount()
getCompileCount
in interface JITCompilerMBean
public long getFailCount()
getFailCount
in interface JITCompilerMBean
public long getCompileTime()
getCompileTime
in interface JITCompilerMBean
public long getAbandonCount()
getAbandonCount
in interface JITCompilerMBean
public long getCodeSize()
getCodeSize
in interface JITCompilerMBean
public long getCodeAverageSize()
getCodeAverageSize
in interface JITCompilerMBean
public long getCompileTimeAverage()
getCompileTimeAverage
in interface JITCompilerMBean
public long getCodeLargestSize()
getCodeLargestSize
in interface JITCompilerMBean
public long getIRSize()
getIRSize
in interface JITCompilerMBean
public long getIRAverageSize()
getIRAverageSize
in interface JITCompilerMBean
public long getIRLargestSize()
getIRLargestSize
in interface JITCompilerMBean
public String[] getFrameAwareMethods()
getFrameAwareMethods
in interface JITCompilerMBean
public String[] getScopeAwareMethods()
getScopeAwareMethods
in interface JITCompilerMBean
public 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.