Java 24, Faster Than Ever
summary
Java 24 actually ships concrete changes: the JIT adds MergeStore to collapse multiple byte writes into a single bulk store, giving several‑times speedups for manual byte‑packing patterns; the Foreign Function & Memory bulk ops (fill/copy/mismatch) move many small cases into Java for lower latency; string concat template generation cuts startup and generated code (~40% and ~50% in measurements); compact object headers save ~10% heap; ZGC switches generational by default. Results come from cross‑platform JMH benchmarks and farm testing.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 1:32Products
- 5:44Metrics
- 10:02Considerations
- 13:10Challenges Solutions
- 19:04Compiler Tricks
- 29:09Problems
- 32:12FFM API
- 34:54More to come
related talks
53mJava Performance Update 2024
51mJava 24 - Better Language, Better APIs, Better Runtime
51mJava Performance Update: From JDK 21 to JDK 25
35mJava at Speed: Building a Better JVM
48mJust-In-Time Compilation for Java Performance: Recent and Ongoing Improvements
02h 31mJava 23 - Better Language, Better APIs, Better Runtime
22mJava Performance Update
48mJava 9 Performance
