Found one Java-level deadlock: ============================= "Thread-1": waiting to lock monitor 0x0000017bfeca3e80 (object 0x000000008a0e36e8, a java.lang.Object), which is held by "Thread-0" "Thread-0": waiting to lock monitor 0x0000017bfeca5e80 (object 0x000000008a0e36f8, a java.lang.Object), which is held by "Thread-1"
Java stack information for the threads listed above: =================================================== "Thread-1": at TestDeadLock$Thread2.run(TestDeadLock.java:40) - waiting to lock <0x000000008a0e36e8> (a java.lang.Object) - locked <0x000000008a0e36f8> (a java.lang.Object) at java.lang.Thread.run(java.base@9.0.4/Thread.java:844) "Thread-0": at TestDeadLock$Thread1.run(TestDeadLock.java:22) - waiting to lock <0x000000008a0e36f8> (a java.lang.Object) - locked <0x000000008a0e36e8> (a java.lang.Object) at java.lang.Thread.run(java.base@9.0.4/Thread.java:844)