To Java 20 and Beyond
summary
Covers concrete changes from Java 11 through the upcoming 21: text blocks simplify multiline strings; records collapse dozens of boilerplate lines to a single declaration; pattern matching (instanceof and record patterns) plus pattern matching for switch aims to make switches exhaustive and catch missing cases at compile time (candidate for Java 21). Runtime improvements include single-step class-data-sharing auto-create (spring boot startup cut from ~6s to ~4s in demos) and ZGC scaling to multi‑terabyte heaps with sub‑millisecond pauses. Removals: Security Manager, Nashorn, CMS GC.
AI-written summary · about
chapters (8)
- 0:00Introduction and agenda
- 1:52New language features
- 10:56Sealed classes and switch
- 20:48Records and pattern matching
- 25:56API and runtime updates
- 30:13Class data sharing and ZGC
- 36:54Deprecations and removals
- 41:26Future of Java and Q&A








