线程状态

线程是JVM任务的最小单位.

Thread.State:

  • NEW
  • RUNNABLE(READY、RUNNING)
  • BLOCKED
  • WAITING
  • TIME_WAITING
  • TERMINATED