public final class WindowsVMThreads extends VMThreads
VMThreads.StatusSupportIsolateTL, THREAD_LIST_CONDITION, THREAD_MUTEX| Constructor and Description |
|---|
WindowsVMThreads() |
| Modifier and Type | Method and Description |
|---|---|
org.graalvm.nativeimage.IsolateThread |
allocateIsolateThread(int isolateThreadSize)
Allocate native memory for a
IsolateThread. |
void |
failFatally(int code,
org.graalvm.nativeimage.c.type.CCharPointer message)
Report a fatal error to the user and exit.
|
void |
freeIsolateThread(org.graalvm.nativeimage.IsolateThread thread)
Free the native memorry allocated by
VMThreads.allocateIsolateThread(int). |
protected org.graalvm.word.ComparableWord |
getCurrentOSThreadId() |
protected boolean |
initializeOnce()
Make sure the runtime is initialized for threading.
|
attachThread, detachThread, ensureInitialized, findIsolateThreadforCurrentOSThread, firstThread, isInitialized, isNonNullThread, isNullThread, isTearingDown, nextThread, nullThread, setTearingDown, singletonprotected org.graalvm.word.ComparableWord getCurrentOSThreadId()
getCurrentOSThreadId in class VMThreadsprotected boolean initializeOnce()
initializeOnce in class VMThreadspublic org.graalvm.nativeimage.IsolateThread allocateIsolateThread(int isolateThreadSize)
VMThreadsIsolateThread. The returned memory must be initialized
to 0.allocateIsolateThread in class VMThreadspublic void freeIsolateThread(org.graalvm.nativeimage.IsolateThread thread)
VMThreadsVMThreads.allocateIsolateThread(int).freeIsolateThread in class VMThreadspublic void failFatally(int code,
org.graalvm.nativeimage.c.type.CCharPointer message)
VMThreadsfailFatally in class VMThreads