Is it possible for ConcurrentHashMap to “deadlock”?
问题 We have come across a strange issue with ConcurrentHashMap , where two threads appears to be calling put() , and then waiting forever inside the method Unsafe.park() . From the outside, it looks like a deadlock inside ConcurrentHashMap . We have only seen this happen once so far. Can anyone think of anything that could cause these symptoms? EDIT : The thread dump for the relevant threads is here: "[redacted] Thread 2" prio=10 tid=0x000000005bbbc800 nid=0x921 waiting on condition