~/talk

Java Performance Update: From JDK 21 to JDK 25

Talkat Jfokus 2026 · 2026-02-02..02-04· [java]
github:minborg
slides:none on file

JDK 25 vs 21 lists 13 concrete wins: energy drops ~24% on a Spring Boot workload, JIT and GC changes lift SPECjbb scores ~10% without recompilation, and a new preview Stable Value gives field-level immutability performance shortcuts. Built-in tracing adds finer method timing via JFR view tools and JMH drives reproducible regressions. ZGC goes generational for large heaps, AOT caching (leaden) speeds startup, and Compact Object Headers cuts per-object header by ~4 bytes, reducing heap by up to ~22% and CPU by ~8% in examples.

AI-written summary · about

  1. 0:00Java performance discussion
  2. 1:39JDK 21 to JDK 25 performance
  3. 4:08Java performance metrics
  4. 13:47Java performance factors
  5. 23:41JVM compiler optimizations
  6. 33:10JDK 25 performance improvements
  7. 40:11Garbage collection optimizations
  8. 44:23Compressed object headers in JDK 25
  9. 45:28Q&A on language features and ZGC
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.