Research Library · Idea
HashMap tree bins
Java 8 change that turns an overfull HashMap bucket into a balanced tree, bounding lookups for comparable colliding keys at O(log n). Also: JEP 180; HashMap treeification; balanced tree buckets.

SecSIGSecurity Special Interest Group of US MensaCuriosity. Perspective. Security.Research Library · Idea
Java 8 change that turns an overfull HashMap bucket into a balanced tree, bounding lookups for comparable colliding keys at O(log n). Also: JEP 180; HashMap treeification; balanced tree buckets.