Modifier and Type | Class and Description |
---|---|
static class |
Safepoint.Master.TestingBackdoor
A sample method to execute in a VMOperation.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
freeze(String reason)
Have each of the threads (except myself!) stop at a safepoint.
|
protected org.graalvm.nativeimage.IsolateThread |
getRequestingThread() |
protected org.graalvm.word.UnsignedWord |
getSafepointId() |
protected boolean |
isFrozen() |
static Safepoint.Master |
singleton() |
protected void |
thaw(String reason,
boolean unlock)
Let all of the threads proceed from their safepoint.
|
public static Safepoint.Master singleton()
protected boolean freeze(String reason)
protected void thaw(String reason, boolean unlock)
protected org.graalvm.nativeimage.IsolateThread getRequestingThread()
protected boolean isFrozen()
protected org.graalvm.word.UnsignedWord getSafepointId()