I have been reading https://www.alibabacloud.com/blog/the-clever-design-of-java-map_597979 for the internal implementation of the HashMap
and CHM
.
There is an interesting line for which I could not find more explanation for :
Can someone point me to the bug this refers to?
I could only find the bug related to HashMap
improvement with RB-Trees, but nothing about the dead loop.
https://github.com/openjdk/jdk/commit/0fb014c2b3cff00c15e9e7cb6653818d061216e9