Searched defs:threadStatus (Results 1 - 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/sun/misc/
H A DVM.java357 * Returns Thread.State for the given threadStatus
359 public static Thread.State toThreadState(int threadStatus) { argument
360 if ((threadStatus & JVMTI_THREAD_STATE_RUNNABLE) != 0) {
362 } else if ((threadStatus & JVMTI_THREAD_STATE_BLOCKED_ON_MONITOR_ENTER) != 0) {
364 } else if ((threadStatus & JVMTI_THREAD_STATE_WAITING_INDEFINITELY) != 0) {
366 } else if ((threadStatus & JVMTI_THREAD_STATE_WAITING_WITH_TIMEOUT) != 0) {
368 } else if ((threadStatus & JVMTI_THREAD_STATE_TERMINATED) != 0) {
370 } else if ((threadStatus & JVMTI_THREAD_STATE_ALIVE) == 0) {
377 /* The threadStatus field is set by the VM at state transition
/libcore/ojluni/src/main/java/java/lang/
H A DThread.java222 private volatile int threadStatus = 0; field in class:Thread
720 if (threadStatus != 0)

Completed in 55 milliseconds