Hacker News new | past | comments | ask | show | jobs | submit login

It's using a custom c++ hashtable:

https://github.com/JetBrains/jdk8u_hotspot/blob/master/src/s...

Interestingly, the hash table implementation it's subclassing has changed from `HashTable` to `RehashableHashtable` between JDK7 and JDK8, so I guess there's at least been work to try and improve the performance there.

The hashmap header is here, code lives in the matching cpp file in the same directory:

https://github.com/JetBrains/jdk8u_hotspot/blob/master/src/s...




That is an implementation detail, there are many JVMs to choose from.


Absolutely - that's what the blog post is about, how OpenJDK's particular implementation behaves. When Aleksey is talking about the hashtables not being resizeable, he's talking about the project he works on, which is the code above.


I missed that.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: