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() |
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.TruffleInliningPlan inlining,
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.TruffleCompiler
public org.graalvm.compiler.truffle.common.TruffleCompilation openCompilation(org.graalvm.compiler.truffle.common.CompilableTruffleAST compilable)
openCompilation
in interface org.graalvm.compiler.truffle.common.TruffleCompiler
public 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.TruffleCompiler
public 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.TruffleInliningPlan inlining, org.graalvm.compiler.truffle.common.TruffleCompilationTask task, org.graalvm.compiler.truffle.common.TruffleCompilerListener listener)
doCompile
in interface org.graalvm.compiler.truffle.common.TruffleCompiler
protected CompilerIsolateThread beforeCompilation()
protected void afterCompilation(CompilerIsolateThread context)
public String getCompilerConfigurationName()
getCompilerConfigurationName
in interface org.graalvm.compiler.truffle.common.TruffleCompiler
public void teardown()
SubstrateTruffleCompiler
teardown
in interface SubstrateTruffleCompiler
public void shutdown()
shutdown
in interface org.graalvm.compiler.truffle.common.TruffleCompiler
protected void tearDownIsolateOnShutdown()
public org.graalvm.compiler.truffle.compiler.PartialEvaluator getPartialEvaluator()
getPartialEvaluator
in interface SubstrateTruffleCompiler
getPartialEvaluator
in interface org.graalvm.compiler.truffle.compiler.TruffleCompilerBase
public org.graalvm.compiler.api.replacements.SnippetReflectionProvider getSnippetReflection()
getSnippetReflection
in interface org.graalvm.compiler.truffle.compiler.TruffleCompilerBase