JDK21 and Bazel
summary
Bazel upgrades its embedded JVM to JDK 21 and reports microbenchmarks showing up to 20% CPU and 14% wall-time improvements on high-core machines and ~5–10% wall-time gains in production above the 50th percentile, attributed mainly to new GC. A prototype swaps platform threads for virtual threads to implement async execution: threads detach while waiting for subprocesses, reuse platform threads, drive thousands of concurrent actions with far fewer OS threads, and aim to remove manual jobs tuning by dynamically adjusting concurrency.
AI-written summary · about
related talks
51mJava Performance Update: From JDK 21 to JDK 25
48mZGC: A Decade of Redefining Java Performance
38mWelcome to the Jungle - A safari through the JVM landscape
35mJava at Speed: Building a Better JVM
47mJava Renaissance
51mJava 24 - Better Language, Better APIs, Better Runtime
21mFaster Data With Faster Java
56mTo Java 22 and Beyond!
