Process / Thread State is the state that a thread (and the main thread (process)) can take.
An example of a process or thread state. Other sub-state may exists. It's dependent of the process runtime.
| State | Description |
|---|---|
| NEW | A thread that has not yet started is in this state. |
| RUNNABLE | A thread executing is in this state. |
| BLOCKED | A thread that is blocked is in this state. |
| WAITING | A thread that is waiting indefinitely for another thread to perform a particular action is in this state |
| TIMED_WAITING | A thread that is waiting for another thread to perform an action for up to a specified waiting time is in this state. |
| TERMINATED | A thread that has exited is in this state. |
with a Data Visualization - State Diagram
where:
With Process Explorer
see javase/9/docs/api/java/lang/Thread.State.html