public final class PosixJavaThreads extends JavaThreads
JavaThreads.ThreadStartData| Modifier and Type | Method and Description |
|---|---|
protected void |
beforeThreadRun(Thread thread)
Hook for subclasses.
|
protected void |
doStartThread(Thread thread,
long stackSize)
Start a new OS thread.
|
protected void |
setNativeName(Thread thread,
String name)
Try to set the native name of the current thread.
|
protected void |
yield() |
assignJavaThread, currentJavaThreadInitialized, detachThread, dispatchUncaughtException, ensureJavaThread, ensureJavaThread, exit, fromVMThread, getSleepParkEvent, getThreadStatus, getUnsafeParkEvent, initializeIsolate, interruptVMCondVars, joinAllNonDaemons, prepareStartData, setThreadStatus, singleton, tearDownVM, threadStartRoutineprotected void doStartThread(Thread thread, long stackSize)
JavaThreadsJavaThreads.prepareStartData(java.lang.Thread, com.oracle.svm.core.thread.JavaThreads.ThreadStartData) after
preparations and before starting the thread. The new OS thread must call
JavaThreads.threadStartRoutine(org.graalvm.nativeimage.ObjectHandle).doStartThread in class JavaThreadsprotected void setNativeName(Thread thread, String name)
setNativeName in class JavaThreadsprotected void yield()
yield in class JavaThreadsprotected void beforeThreadRun(Thread thread)
JavaThreadsbeforeThreadRun in class JavaThreads