To #Java 24 and Beyond
summary
Quick roadmap through post‑11 Java: concrete changes, migration aids and where concurrency actually shifts. Notes actionable items — virtual threads (4KB per thread) that run on platform threads and keep stack context so apps need fewer rearchitects; Structured Concurrency and Scoped Values land to replace ad‑hoc thread management; Generational ZGC sub‑millisecond latency now default for ZGC and a measurable win for latency at some CPU cost. Also: Foreign Function & Memory API (JDK22), JExtract, stream gatherers (five built‑in kinds), class‑file API to reduce dependency churn, and CDS/AOT tooling that creates archives with safe fallbacks.
AI-written summary · about
chapters (14)
- 0:00Introduction and welcome
- 1:42Quick review of JDK 11 to 17
- 7:04Text blocks and switch updates
- 12:45Records and pattern matching
- 17:59Java 21 and beyond features
- 26:31Stream gatherers and sequence collections
- 33:11Virtual threads and project loom
- 40:37Foreign function and memory API
- 42:04Markdown in JavaDoc and class file API
- 43:54Runtime features and CDS
- 47:02Project Loom and generational ZGC
- 50:15Deprecations and removals in JDK 24
- 52:24Beyond JDK 24 features
- 59:49Q&A session








