| Modifier and Type | Field and Description |
|---|---|
static int |
ALLOW_SAFEPOINT
The thread will freeze as soon as possible if a safepoint is requested.
|
| Constructor and Description |
|---|
SafepointBehavior() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getSafepointBehaviorVolatile(org.graalvm.nativeimage.IsolateThread vmThread) |
static boolean |
ignoresSafepoints() |
static boolean |
ignoresSafepoints(org.graalvm.nativeimage.IsolateThread vmThread) |
static void |
markThreadAsCrashed()
Marks the thread as crashed.
|
static void |
preventSafepoints()
Changes the safepoint behavior so that this thread won't freeze at a safepoint.
|
static String |
toString(int safepointBehavior) |
public static final int ALLOW_SAFEPOINT
public static boolean ignoresSafepoints()
public static boolean ignoresSafepoints(org.graalvm.nativeimage.IsolateThread vmThread)
public static int getSafepointBehaviorVolatile(org.graalvm.nativeimage.IsolateThread vmThread)
public static void preventSafepoints()
VMThreads.StatusSupport.STATUS_IN_JAVA.public static void markThreadAsCrashed()
public static String toString(int safepointBehavior)