public final class WindowsVMThreads extends VMThreads
VMThreads.ActionOnExitSafepointSupport, VMThreads.ActionOnTransitionToJavaSupport, VMThreads.OSThreadHandle, VMThreads.OSThreadId, VMThreads.SafepointBehavior, VMThreads.StatusSupportIsolateTL, nextTL, OSThreadHandleTL, StackBase, StackEnd, 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.
|
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.
|
void |
nativeSleep(int milliseconds)
Puts this thread to sleep on the operating-system level and does not care about Java
semantics.
|
boolean |
supportsPatientSafepoints() |
void |
yield() |
allocateIsolateThread, attachThread, cleanupExitedOsThreads, detachAllThreadsExceptCurrentWithoutCleanupForTearDown, detachThread, ensureInitialized, findIsolateThreadForCurrentOSThread, firstThread, firstThreadUnsafe, freeIsolateThread, guaranteeOwnsThreadMutex, isInitialized, isTearingDown, nextThread, ownsThreadMutex, printLocationInfo, singleton, tearDown, verifyIsCurrentThread, verifyThreadIsAttachedpublic VMThreads.OSThreadHandle getCurrentOSThreadHandle()
VMThreadsVMThreads.attachThread(IsolateThread), when
VMThreads.OSThreadHandleTL is not set yet.getCurrentOSThreadHandle in class VMThreadsprotected VMThreads.OSThreadId getCurrentOSThreadId()
VMThreadsgetCurrentOSThreadId in class VMThreadsprotected void joinNoTransition(VMThreads.OSThreadHandle osThreadHandle)
VMThreadsjoinNoTransition in class VMThreadspublic void nativeSleep(int milliseconds)
VMThreadsnativeSleep in class VMThreadspublic boolean supportsPatientSafepoints()
supportsPatientSafepoints in class VMThreadsprotected boolean initializeOnce()
initializeOnce in class VMThreadspublic void failFatally(int code,
org.graalvm.nativeimage.c.type.CCharPointer message)
VMThreadsfailFatally in class VMThreads