public final class IsolatedRuntimeCodeInstaller extends RuntimeCodeInstaller
AbstractRuntimeCodeInstaller.RuntimeCodeInstallerPlatformHelper
compiledBytes, method
Modifier and Type | Method and Description |
---|---|
protected org.graalvm.word.Pointer |
allocateCodeMemory(long size) |
static ClientHandle<SubstrateInstalledCode> |
installInClientIsolate(ImageHeapRef<SubstrateMethod> methodRef,
org.graalvm.compiler.code.CompilationResult compilationResult,
ClientHandle<? extends SubstrateInstalledCode.Access> installedCodeAccessHandle)
Called in a compilation isolate to install the given
compilation result in the compilation client's isolate.
|
static ClientHandle<SubstrateInstalledCode> |
installInClientIsolate(SharedRuntimeMethod compilerMethod,
ClientHandle<? extends SharedRuntimeMethod> clientMethodHandle,
org.graalvm.compiler.code.CompilationResult compilationResult,
ClientHandle<? extends SubstrateInstalledCode.Access> installedCodeAccessHandle) |
protected void |
makeCodeMemoryReadOnly(org.graalvm.word.Pointer start,
long size) |
protected void |
makeCodeMemoryWriteableNonExecutable(org.graalvm.word.Pointer start,
long size) |
doPrepareInstall, install
doInstallPrepared, doInstallPreparedAndTethered, platformHelper, rethrow
public static ClientHandle<SubstrateInstalledCode> installInClientIsolate(ImageHeapRef<SubstrateMethod> methodRef, org.graalvm.compiler.code.CompilationResult compilationResult, ClientHandle<? extends SubstrateInstalledCode.Access> installedCodeAccessHandle)
public static ClientHandle<SubstrateInstalledCode> installInClientIsolate(SharedRuntimeMethod compilerMethod, ClientHandle<? extends SharedRuntimeMethod> clientMethodHandle, org.graalvm.compiler.code.CompilationResult compilationResult, ClientHandle<? extends SubstrateInstalledCode.Access> installedCodeAccessHandle)
protected org.graalvm.word.Pointer allocateCodeMemory(long size)
allocateCodeMemory
in class AbstractRuntimeCodeInstaller
protected void makeCodeMemoryReadOnly(org.graalvm.word.Pointer start, long size)
makeCodeMemoryReadOnly
in class AbstractRuntimeCodeInstaller
protected void makeCodeMemoryWriteableNonExecutable(org.graalvm.word.Pointer start, long size)
makeCodeMemoryWriteableNonExecutable
in class AbstractRuntimeCodeInstaller