title: Resizing Concurrent Hash Map
body: <p>What is the amount of memory penalty for a Concurrent Hash Map resize. Specifically what I am looking for are </p>
  
  <p>Q1. Does the size of the concurrent hash map double? What I have read indicates the resize is done per bucket, but does not indicate what is the increase in the number of buckets</p>
  
  <p>Q2. If the size of the concurrent hash map increases, how are the nodes moved to the correct buckets as the hash codes might be different now. Specifically elements are added based on hash codes, so how are nodes moved around with re-hashing.</p>