Beyond the Hype: Unpacking the Latest Features of JDK
summary
Groups JDK changes by project and shows runnable code and tools: records: 11 lines → 1 for DTOs, enhanced switch and pattern matching remove casts and fall-through bugs, sealed types enforce permitted subclasses, stream gatherers add sliding-window ops, flexible record constructors validate input. Project Loom introduces virtual threads and structured concurrency — demo runs 10,000 virtual threads in ~29 ms while platform threads OOM — plus scoped values replace thread‑locals. Panama offers native linker, arenas and JExtract for safe native calls and Vector API exposes SIMD. Leyden uses AOT app.aot for sub‑second starts. Valhalla flattens value types to cut per‑object memory dramatically.
AI-written summary · about
chapters (7)
- 0:00Introduction and Java evolution
- 3:20Project Amber overview
- 13:52Project Loom and concurrency
- 21:21Project Panama and native access
- 31:13Project Leyden and cloud startup
- 35:05Project Valhalla and memory efficiency
- 41:39Closing and Q&A
related talks
57mJava Next - From Amber to Valhalla, from Loom to Leyden, from Babylon to Panama
46mJava Next - From Amber to Loom, from Panama to Valhalla
47mThe Hidden Gems of Java 20
02h 34mJava Next - Live Stream
02h 36mJava keeps throttling up!
39mMost impacting features of newest JDKs
47mJava Next - From Amber to Loom, from Panama to Valhalla
42mJava, Today and Tomorrow
