public class IsolateAwareTruffleCompiler extends Object implements SubstrateTruffleCompiler
| Modifier and Type | Field and Description |
|---|---|
protected SubstrateTruffleCompiler |
delegate |
| Constructor and Description |
|---|
IsolateAwareTruffleCompiler(SubstrateTruffleCompiler delegate) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterCompilation(CompilerIsolateThread context) |
protected CompilerIsolateThread |
beforeCompilation() |
protected static void |
compilerIsolateThreadShutdown(CompilerIsolateThread context) |
void |
doCompile(org.graalvm.compiler.truffle.common.TruffleDebugContext debug,
org.graalvm.compiler.truffle.common.TruffleCompilation compilation,
Map<String,Object> options,
org.graalvm.compiler.truffle.common.TruffleCompilationTask task,
org.graalvm.compiler.truffle.common.TruffleCompilerListener listener) |
String |
getCompilerConfigurationName() |
org.graalvm.compiler.truffle.compiler.PartialEvaluator |
getPartialEvaluator() |
org.graalvm.compiler.api.replacements.SnippetReflectionProvider |
getSnippetReflection() |
void |
initialize(Map<String,Object> options,
org.graalvm.compiler.truffle.common.CompilableTruffleAST compilable,
boolean firstInitialization) |
org.graalvm.compiler.truffle.common.TruffleCompilation |
openCompilation(org.graalvm.compiler.truffle.common.CompilableTruffleAST compilable) |
org.graalvm.compiler.truffle.common.TruffleDebugContext |
openDebugContext(Map<String,Object> options,
org.graalvm.compiler.truffle.common.TruffleCompilation compilation) |
void |
shutdown() |
void |
teardown()
Called on tear-down of the current isolate.
|
protected void |
tearDownIsolateOnShutdown() |
protected final SubstrateTruffleCompiler delegate
public IsolateAwareTruffleCompiler(SubstrateTruffleCompiler delegate)
public void initialize(Map<String,Object> options, org.graalvm.compiler.truffle.common.CompilableTruffleAST compilable, boolean firstInitialization)
initialize in interface org.graalvm.compiler.truffle.common.TruffleCompilerpublic org.graalvm.compiler.truffle.common.TruffleCompilation openCompilation(org.graalvm.compiler.truffle.common.CompilableTruffleAST compilable)
openCompilation in interface org.graalvm.compiler.truffle.common.TruffleCompilerpublic org.graalvm.compiler.truffle.common.TruffleDebugContext openDebugContext(Map<String,Object> options, org.graalvm.compiler.truffle.common.TruffleCompilation compilation)
openDebugContext in interface org.graalvm.compiler.truffle.common.TruffleCompilerpublic void doCompile(org.graalvm.compiler.truffle.common.TruffleDebugContext debug,
org.graalvm.compiler.truffle.common.TruffleCompilation compilation,
Map<String,Object> options,
org.graalvm.compiler.truffle.common.TruffleCompilationTask task,
org.graalvm.compiler.truffle.common.TruffleCompilerListener listener)
doCompile in interface org.graalvm.compiler.truffle.common.TruffleCompilerprotected CompilerIsolateThread beforeCompilation()
protected static void compilerIsolateThreadShutdown(CompilerIsolateThread context)
protected void afterCompilation(CompilerIsolateThread context)
public String getCompilerConfigurationName()
getCompilerConfigurationName in interface org.graalvm.compiler.truffle.common.TruffleCompilerpublic void teardown()
SubstrateTruffleCompilerteardown in interface SubstrateTruffleCompilerpublic void shutdown()
shutdown in interface org.graalvm.compiler.truffle.common.TruffleCompilerprotected void tearDownIsolateOnShutdown()
public org.graalvm.compiler.truffle.compiler.PartialEvaluator getPartialEvaluator()
getPartialEvaluator in interface SubstrateTruffleCompilergetPartialEvaluator in interface org.graalvm.compiler.truffle.compiler.TruffleCompilerBasepublic org.graalvm.compiler.api.replacements.SnippetReflectionProvider getSnippetReflection()
getSnippetReflection in interface org.graalvm.compiler.truffle.compiler.TruffleCompilerBase