Class LibGraalTruffleCompilationSupport
java.lang.Object
com.oracle.truffle.runtime.hotspot.libgraal.LibGraalTruffleCompilationSupport
- All Implemented Interfaces:
com.oracle.truffle.compiler.TruffleCompilationSupport
public final class LibGraalTruffleCompilationSupport
extends Object
implements com.oracle.truffle.compiler.TruffleCompilationSupport
Represents a truffle compilation bundling compilable and task into a single object. Also installs
the TTY filter to forward log messages to the truffle runtime.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancom.oracle.truffle.compiler.TruffleCompilercreateCompiler(com.oracle.truffle.compiler.TruffleCompilerRuntime runtime) getCompilerConfigurationName(com.oracle.truffle.compiler.TruffleCompilerRuntime runtime) static voidinitializeIsolate(long isolateThreadId) booleanisSuppressedCompilationFailure(Throwable throwable) com.oracle.truffle.compiler.TruffleCompilerOptionDescriptor[]voidregisterRuntime(com.oracle.truffle.compiler.TruffleCompilerRuntime runtime) validateCompilerOption(String key, String value)
-
Constructor Details
-
LibGraalTruffleCompilationSupport
public LibGraalTruffleCompilationSupport()
-
-
Method Details
-
initializeIsolate
public static void initializeIsolate(long isolateThreadId) -
getCompilerConfigurationName
public String getCompilerConfigurationName(com.oracle.truffle.compiler.TruffleCompilerRuntime runtime) - Specified by:
getCompilerConfigurationNamein interfacecom.oracle.truffle.compiler.TruffleCompilationSupport
-
createCompiler
public com.oracle.truffle.compiler.TruffleCompiler createCompiler(com.oracle.truffle.compiler.TruffleCompilerRuntime runtime) - Specified by:
createCompilerin interfacecom.oracle.truffle.compiler.TruffleCompilationSupport
-
registerRuntime
public void registerRuntime(com.oracle.truffle.compiler.TruffleCompilerRuntime runtime) - Specified by:
registerRuntimein interfacecom.oracle.truffle.compiler.TruffleCompilationSupport
-
listCompilerOptions
public com.oracle.truffle.compiler.TruffleCompilerOptionDescriptor[] listCompilerOptions()- Specified by:
listCompilerOptionsin interfacecom.oracle.truffle.compiler.TruffleCompilationSupport
-
validateCompilerOption
-
compilerOptionExists
- Specified by:
compilerOptionExistsin interfacecom.oracle.truffle.compiler.TruffleCompilationSupport
-
openCompilerThreadScope
- Specified by:
openCompilerThreadScopein interfacecom.oracle.truffle.compiler.TruffleCompilationSupport
-
isSuppressedCompilationFailure
- Specified by:
isSuppressedCompilationFailurein interfacecom.oracle.truffle.compiler.TruffleCompilationSupport
-
getCompilerVersion
- Specified by:
getCompilerVersionin interfacecom.oracle.truffle.compiler.TruffleCompilationSupport
-