同步器状态

更新时间:
  • WAITING_ON 等待对象被唤醒

  • WAITING_TO_RE_LOCK 等待wait里面拿锁

  • WAITING_ON_NO_OBJECT_REFERENCE_AVAILABLE 在JIT方法里等对象被唤醒

  • PARKING 被Unsafe.park

  • WAITING_ON_CLASS_INITIALIZATION 等待类初始化锁

  • LOCKED 持有锁

  • WAITING_TO_LOCK 等待加锁