public final class WindowsVMThreads extends VMThreads
VMThreads.ActionOnTransitionToJavaSupport, VMThreads.OSThreadHandle, VMThreads.OSThreadId, VMThreads.StatusSupport
IsolateTL, nextTL, OSThreadHandleTL, THREAD_LIST_CONDITION, THREAD_MUTEX
Constructor and Description |
---|
WindowsVMThreads() |
Modifier and Type | Method and Description |
---|---|
void |
failFatally(int code,
org.graalvm.nativeimage.c.type.CCharPointer message)
Report a fatal error to the user and exit.
|
protected VMThreads.OSThreadHandle |
getCurrentOSThreadHandle()
Returns a platform-specific handle to the current thread.
|
protected VMThreads.OSThreadId |
getCurrentOSThreadId()
Returns a unique identifier for the current thread.
|
protected boolean |
initializeOnce()
Make sure the runtime is initialized for threading.
|
protected void |
joinNoTransition(VMThreads.OSThreadHandle osThreadHandle)
Executes a non-multithreading-safe low-level (i.e., non-Java-level) join operation on the
given native thread.
|
allocateIsolateThread, attachThread, cleanupExitedOsThreads, detachAllThreadsExceptCurrentWithoutCleanupForTearDown, detachThread, ensureInitialized, findIsolateThreadForCurrentOSThread, firstThread, firstThreadUnsafe, freeIsolateThread, guaranteeOwnsThreadMutex, isInitialized, isTearingDown, nextThread, ownsThreadMutex, singleton, tearDown, verifyIsCurrentThread, verifyThreadIsAttached
protected VMThreads.OSThreadHandle getCurrentOSThreadHandle()
VMThreads
VMThreads.attachThread(IsolateThread)
, when
VMThreads.OSThreadHandleTL
is not set yet.getCurrentOSThreadHandle
in class VMThreads
protected VMThreads.OSThreadId getCurrentOSThreadId()
VMThreads
getCurrentOSThreadId
in class VMThreads
protected void joinNoTransition(VMThreads.OSThreadHandle osThreadHandle)
VMThreads
joinNoTransition
in class VMThreads
protected boolean initializeOnce()
initializeOnce
in class VMThreads
public void failFatally(int code, org.graalvm.nativeimage.c.type.CCharPointer message)
VMThreads
failFatally
in class VMThreads