Features
Stable Features
- JEP 444: Virtual Threads
- 轻量级线程(Project Loom),显著提高高并发应用的吞吐量。
- JEP 431: Sequenced Collections
- 引入
SequencedCollection, SequencedSet, SequencedMap,提供统一的顺序访问。
- JEP 440: Record Patterns
- JEP 441: Pattern Matching for switch
- JEP 439: Generational ZGC
- JEP 452: Key Encapsulation Mechanism API
- JEP 451: Prepare to Disallow the Dynamic Loading of Agents
Preview & Incubator
- JEP 430: String Templates (Preview)
- JEP 443: Unnamed Patterns and Variables (Preview)
- JEP 445: Unnamed Classes and Instance Main Methods (Preview)
- JEP 446: Scoped Values (Preview)
- JEP 453: Structured Concurrency (Preview)
- JEP 442: Foreign Function & Memory API (Third Preview)
- JEP 448: Vector API (Sixth Incubator)
References