public final class PosixJavaThreads extends JavaThreads
JavaThreads.ThreadStartData
systemGroup
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, joinAllNonDaemons, prepareStartData, setThreadStatus, singleton, tearDown, threadStartRoutine, wakeUpVMConditionWaiters, wasStartedByCurrentIsolate, wasStartedByCurrentIsolate
protected void doStartThread(Thread thread, long stackSize)
JavaThreads
JavaThreads.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 JavaThreads
protected void setNativeName(Thread thread, String name)
setNativeName
in class JavaThreads
protected void yield()
yield
in class JavaThreads
protected void beforeThreadRun(Thread thread)
JavaThreads
beforeThreadRun
in class JavaThreads