| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| pack-priv abstract static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final RubyInstanceConfig | |
| pack-priv final JITCounts | |
| private final ExecutorService | |
| pack-priv final Map | |
| private static final Logger | |
| pack-priv static final MethodHandles. | |
| public static final String | |
| pack-priv final Ruby |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public long | |
| public long | |
| public long | |
| public long | |
| public long | |
| public long | |
| public long | |
| public long | |
| public String[] | |
| public static String | |
| public static String | |
| public long | |
| public long | |
| public long | |
| pack-priv ClassDefiningClassLoader | |
| public String[] | |
| public long | |
| public Runnable | |
| public boolean | Returns: true if already shut down, false otherwiseReturn the shutdown status of the JIT compiler. |
| pack-priv static void | |
| pack-priv static void | |
| public void | |
| public void |
| config | back to summary |
|---|---|
| pack-priv final RubyInstanceConfig config | |
| counts | back to summary |
|---|---|
| pack-priv final JITCounts counts | |
| executor | back to summary |
|---|---|
| private final ExecutorService executor | |
| loaderMap | back to summary |
|---|---|
| pack-priv final Map<String, ClassDefiningClassLoader> loaderMap | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| PUBLIC_LOOKUP | back to summary |
|---|---|
| pack-priv static final MethodHandles. | |
| RUBY_JIT_PREFIX | back to summary |
|---|---|
| public static final String RUBY_JIT_PREFIX | |
| runtime | back to summary |
|---|---|
| pack-priv final Ruby runtime | |
| JITCompiler | back to summary |
|---|---|
| public JITCompiler(Ruby runtime) | |
| buildThresholdReached | back to summary |
|---|---|
| public void buildThresholdReached(ThreadContext context, final Compilable<T> method, boolean force) | |
| getAbandonCount | back to summary |
|---|---|
| public long getAbandonCount() Implements org. | |
| getCodeAverageSize | back to summary |
|---|---|
| public long getCodeAverageSize() Implements org. | |
| getCodeLargestSize | back to summary |
|---|---|
| public long getCodeLargestSize() Implements org. | |
| getCodeSize | back to summary |
|---|---|
| public long getCodeSize() Implements org. | |
| getCompileCount | back to summary |
|---|---|
| public long getCompileCount() Implements org. | |
| getCompileTime | back to summary |
|---|---|
| public long getCompileTime() Implements org. | |
| getCompileTimeAverage | back to summary |
|---|---|
| public long getCompileTimeAverage() Implements org. | |
| getFailCount | back to summary |
|---|---|
| public long getFailCount() Implements org. | |
| getFrameAwareMethods | back to summary |
|---|---|
| public String[] getFrameAwareMethods() Implements org. | |
| getHashForBytes | back to summary |
|---|---|
| public static String getHashForBytes(byte[] bytes) | |
| getHashForString | back to summary |
|---|---|
| public static String getHashForString(String str) | |
| getIRAverageSize | back to summary |
|---|---|
| public long getIRAverageSize() Implements org. | |
| getIRLargestSize | back to summary |
|---|---|
| public long getIRLargestSize() Implements org. | |
| getIRSize | back to summary |
|---|---|
| public long getIRSize() Implements org. | |
| getLoaderFor | back to summary |
|---|---|
| pack-priv ClassDefiningClassLoader getLoaderFor(final String source) | |
| getScopeAwareMethods | back to summary |
|---|---|
| public String[] getScopeAwareMethods() Implements org. | |
| getSuccessCount | back to summary |
|---|---|
| public long getSuccessCount() Implements org. | |
| getTaskFor | back to summary |
|---|---|
| public Runnable getTaskFor(ThreadContext context, Compilable<T> method) | |
| isShutdown | back to summary |
|---|---|
| public boolean isShutdown() Return the shutdown status of the JIT compiler.
| |
| log | back to summary |
|---|---|
| pack-priv static void log(Compilable<?> target, String name, String message, Object... reason)
Deprecated since 10.0.
| |
| log | back to summary |
|---|---|
| pack-priv static void log(ThreadContext context, Compilable<?> target, String name, String message, Object... reason) | |
| shutdown | back to summary |
|---|---|
| public void shutdown() Shut down this JIT compiler and its resources. No more JIT jobs will be submitted for optimization. | |
| tearDown | back to summary |
|---|---|
| public void tearDown() | |
| Modifier and Type | Field and Description |
|---|---|
| protected final JITCompiler |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected Class | defineClass(final JITClassGenerator generator, final JVMVisitor visitor, final IRScope scope, final InterpreterContext interpreterContext)
|
| protected abstract void | |
| pack-priv ClassDefiningClassLoader | |
| protected String | |
| protected void | |
| protected void | |
| protected abstract void | |
| protected void | |
| public void |
| jitCompiler | back to summary |
|---|---|
| protected final JITCompiler jitCompiler | |
| Task | back to summary |
|---|---|
| public Task(JITCompiler jitCompiler) | |
| defineClass | back to summary |
|---|---|
| protected Class | |
| exec | back to summary |
|---|---|
| protected abstract void exec(ThreadContext context) throws Exception | |
| getCodeLoader | back to summary |
|---|---|
| pack-priv ClassDefiningClassLoader getCodeLoader() | |
| getSourceFile | back to summary |
|---|---|
| protected String getSourceFile() | |
| jitFailed | back to summary |
|---|---|
| protected void jitFailed(ThreadContext context, final Throwable ex) | |
| logFailed | back to summary |
|---|---|
| protected void logFailed(ThreadContext context, Throwable ex) | |
| logImpl | back to summary |
|---|---|
| protected abstract void logImpl(ThreadContext context, String msg, Object... cause) | |
| logJitted | back to summary |
|---|---|
| protected void logJitted(ThreadContext context) | |
| run | back to summary |
|---|---|
| public void run() Implements java. Doc from java. Runs this operation. | |