title: DeadLock In ConcurrentHashMap
body: <p>Following code when run, never terminates and stuck in endless loop.</p>
  
  <p>I am not sure where it is getting stuck.</p>
  
  <p>Interesting thing is when I change <code>AaAa</code> to <code>AAAA</code> every thing works fine as expected.</p>
  
  <pre><code> public class Test {
  
      public static void main(String[] args) {
  
          Map&lt;String, Integer&gt; map = new ConcurrentHashMap&lt;&gt;(16);
          map.computeIfAbsent(
                  "AaAa",
                  key -&gt; {
                      return map.computeIfAbsent(
                              "BBBB",
                              key2 -&gt; 42);
                  }
          );
      }
  
  }
  </code></pre>
  
  <p>Can some one help me understanding this behavior.</p>