public interface MemoryProtectionKeyProvider
Modifier and Type | Method and Description |
---|---|
void |
handleSegfault(org.graalvm.word.PointerBase sigInfo)
Handle a PKU segfault.
|
static boolean |
isAvailable() |
void |
printSignalInfo(org.graalvm.word.PointerBase sigInfo)
Print debug information for a PKU segfault.
|
static MemoryProtectionKeyProvider |
singleton() |
void |
unlockCurrentIsolate()
Grant access to the isolate's memory.
|
static MemoryProtectionKeyProvider singleton()
static boolean isAvailable()
void unlockCurrentIsolate()
void handleSegfault(org.graalvm.word.PointerBase sigInfo)
sigInfo
- pointer to the siginfo_t structvoid printSignalInfo(org.graalvm.word.PointerBase sigInfo)
sigInfo
- pointer to the siginfo_t struct