Java线程生命周期图

synchronized(waiting to enter monitor)等待得到锁 synchronized(enter monitor)得到锁 wait( ) join( ) LockSupport.park( ) notyfy( )、notifyAll( )、interrupt( )且得到锁 子线程结束(对应join( )) LockSupport.unpark( ) Thread.sle
相关文章
相关标签/搜索