The official mirror of the V8 Git repository
Yeah, I know that trick. I implemented an identity hashmap inside of V8 that uses that, because JS objects don't have an identity hash code. It uses the object address as the basis of the hash code, which means the table needs to be reorganized when the GC moves objects, which is done with a post-GC hook. The identity maps in V8 are generally short-lived.
I am not aware of production JVMs that use this, because in the worst case they can use a lot more memory if a lot of objects end up needing hashcodes.
JDK main-line development
Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
Best allocating method for my needs?
3 projects | reddit.com/r/cpp_questions | 16 Oct 2021
Creating custom formatter for Java
3 projects | reddit.com/r/javahelp | 15 May 2022
Project Loom preview ships in JDK 19
5 projects | news.ycombinator.com | 2 May 2022
JEP proposed to target JDK 19: 425: Virtual Threads (Preview)
1 project | reddit.com/r/java | 28 Apr 2022
Emoji rendering on macOS by JB-Dmitry
2 projects | reddit.com/r/java | 27 Apr 2022