"blocked-2" #16 prio=5 os_prio=31 tid=0x00007fc7dd9d5800 nid=0x5803 waiting for monitor entry [0x0000700006ae4000] java.lang.Thread.State: BLOCKED (on object monitor) at com.example.threaddemo.Test$BlockDemo.run(Test.java:47) - waiting to lock <0x000000076b157f78> (a java.lang.Class for com.example.threaddemo.Test$BlockDemo) at java.lang.Thread.run(Thread.java:748)
"blocked-1" #14 prio=5 os_prio=31 tid=0x00007fc7dc050000 nid=0xa603 waiting on condition [0x00007000069e1000] java.lang.Thread.State: TIMED_WAITING (sleeping) at java.lang.Thread.sleep(Native Method) at java.lang.Thread.sleep(Thread.java:340) at java.util.concurrent.TimeUnit.sleep(TimeUnit.java:386) at com.example.threaddemo.Test$BlockDemo.run(Test.java:47) - locked <0x000000076b157f78> (a java.lang.Class for com.example.threaddemo.Test$BlockDemo) at java.lang.Thread.run(Thread.java:748)
"t2" #12 prio=5 os_prio=31 tid=0x00007fc7dd9a4800 nid=0xa803 in Object.wait() [0x00007000068de000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on <0x000000076acec9f8> (a java.lang.Class for com.example.threaddemo.Test) at java.lang.Object.wait(Object.java:502) at com.example.threaddemo.Test.lambda$main$1(Test.java:27) - locked <0x000000076acec9f8> (a java.lang.Class for com.example.threaddemo.Test) at com.example.threaddemo.Test$$Lambda$2/1237514926.run(Unknown Source) at java.lang.Thread.run(Thread.java:748)
"t1" #11 prio=5 os_prio=31 tid=0x00007fc7dd002800 nid=0xa903 waiting on condition [0x00007000067db000] java.lang.Thread.State: TIMED_WAITING (sleeping) at java.lang.Thread.sleep(Native Method) at java.lang.Thread.sleep(Thread.java:340) at java.util.concurrent.TimeUnit.sleep(TimeUnit.java:386) at com.example.threaddemo.Test.lambda$main$0(Test.java:15) at com.example.threaddemo.Test$$Lambda$1/625576447.run(Unknown Source) at java.lang.Thread.run(Thread.java:748)
"Monitor Ctrl-Break" #5 daemon prio=5 os_prio=31 tid=0x00007fc7dd99c800 nid=0x3c03 runnable [0x00007000060c6000] java.lang.Thread.State: RUNNABLE at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) at java.net.SocketInputStream.read(SocketInputStream.java:171) at java.net.SocketInputStream.read(SocketInputStream.java:141) at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284) at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326) at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178) - locked <0x000000076adcb058> (a java.io.InputStreamReader) at java.io.InputStreamReader.read(InputStreamReader.java:184) at java.io.BufferedReader.fill(BufferedReader.java:161) at java.io.BufferedReader.readLine(BufferedReader.java:324) - locked <0x000000076adcb058> (a java.io.InputStreamReader) at java.io.BufferedReader.readLine(BufferedReader.java:389) at com.intellij.rt.execution.application.AppMainV2$1.run(AppMainV2.java:64)
"Finalizer" #3 daemon prio=8 os_prio=31 tid=0x00007fc7de80c800 nid=0x3503 in Object.wait() [0x0000700005ec0000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on <0x000000076ab08ec8> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143) - locked <0x000000076ab08ec8> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164) at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:209)
"Reference Handler" #2 daemon prio=10 os_prio=31 tid=0x00007fc7de001000 nid=0x3403 in Object.wait() [0x0000700005dbd000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on <0x000000076ab06b68> (a java.lang.ref.Reference$Lock) at java.lang.Object.wait(Object.java:502) at java.lang.ref.Reference.tryHandlePending(Reference.java:191) - locked <0x000000076ab06b68> (a java.lang.ref.Reference$Lock) at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:153)