Strings Just Got Faster
In JDK 25, Strings used as keys in immutable Maps can be much faster.
News and views from members of the Java team at Oracle.
Visit inside.java → On Hacker News Aug 2020 – May 2025
Software Engineering 5Systems & Performance 4Programming Languages 1
In JDK 25, Strings used as keys in immutable Maps can be much faster.
This blog post summarises a new garbage collection algorithm called Mark-Scavenge, which highlights how using reachability as a proxy for liveness in moving GCs leads to unnecessary data movement and how we can address this. This work is from the latest paper within the research collaboration between Oracle and…
Discussions of coroutines and user-mode threads — like Project Loom's virtual threads or Go's goroutines — frequently turn to the subject of performance. The question I'll try answering here is, how do user-mode threads offer better application performance than OS threads?
The Z Garbage Collector (ZGC)—a scalable, low-latency garbage collector providing sub-millisecond max pause times—continues to evolve. This session will review the design goals behind ZGC and provide a look into the impact of the upcoming support for multiple generations. It will also present general guidance on…
When the subject of Java modules comes up in online discussions every so often, I get the sense that many people misunderstand what it is that modules are supposed to do. That's understandable, as the name 'modules' does not evoke the precise purpose of the feature. There are many kinds of modules, even in the Java…