title: Difference between Bucket level lock and segment level lock in ConcurrentHashMap?
body: <p>I gone through below link and some online video tutorials but am unable to find exact differnece between Bucket level lock and segment level lock in ConcurrentHashMap.</p>
  
  <p><a href="https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ConcurrentHashMap.html" rel="nofollow noreferrer">ConcurrentHashMap</a></p>