java 內部執行緒

朱清震發表於2018-02-10
"Service Thread" #9 daemon prio=9 os_prio=0 tid=0x00000000189b2800 nid=0x9de4 runnable [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE


   Locked ownable synchronizers:
- None


"C1 CompilerThread2" #8 daemon prio=9 os_prio=2 tid=0x000000001895c000 nid=0x6250 waiting on condition [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE


   Locked ownable synchronizers:
- None


"C2 CompilerThread1" #7 daemon prio=9 os_prio=2 tid=0x0000000018945800 nid=0x869c waiting on condition [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE


   Locked ownable synchronizers:
- None


"C2 CompilerThread0" #6 daemon prio=9 os_prio=2 tid=0x0000000018937800 nid=0x8230 waiting on condition [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE


   Locked ownable synchronizers:
- None


"Attach Listener" #5 daemon prio=5 os_prio=2 tid=0x000000001892b000 nid=0x5164 waiting on condition [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE


   Locked ownable synchronizers:
- None


"Signal Dispatcher" #4 daemon prio=9 os_prio=2 tid=0x000000001753f800 nid=0xecd0 runnable [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE


   Locked ownable synchronizers:
- None


"Finalizer" #3 daemon prio=8 os_prio=1 tid=0x00000000174d9800 nid=0x2b14 in Object.wait() [0x000000001891f000]
   java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000000d6106280> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:142)
- locked <0x00000000d6106280> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:158)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:209)


   Locked ownable synchronizers:
- None


"Reference Handler" #2 daemon prio=10 os_prio=2 tid=0x00000000174d0800 nid=0xec38 in Object.wait() [0x000000001877f000]
   java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000000d6105cf0> (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Object.java:502)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:157)
- locked <0x00000000d6105cf0> (a java.lang.ref.Reference$Lock)


   Locked ownable synchronizers:
- None


"main" #1 prio=5 os_prio=0 tid=0x0000000001cee800 nid=0x1e528 waiting on condition [0x00000000027ef000]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
at com.zqz.test.threadstate.ThreadStateTest.main(ThreadStateTest.java:36)


   Locked ownable synchronizers:
- None


"VM Thread" os_prio=2 tid=0x00000000174ca800 nid=0x782c runnable 


"GC task thread#0 (ParallelGC)" os_prio=0 tid=0x0000000001c1f800 nid=0x8d68 runnable 


"GC task thread#1 (ParallelGC)" os_prio=0 tid=0x0000000001c21000 nid=0x6fd4 runnable 


"GC task thread#2 (ParallelGC)" os_prio=0 tid=0x0000000001c22800 nid=0x5950 runnable 


"GC task thread#3 (ParallelGC)" os_prio=0 tid=0x0000000001c24000 nid=0xd154 runnable 


"VM Periodic Task Thread" os_prio=2 tid=0x00000000189c6000 nid=0x9c18 waiting on condition 

相關文章