JDK 21 GA,虚拟线程正式稳定!你还坚守Java8?
JEP 444:虚拟线程
JEP 431:序列集合
JEP 440:记录模式
JEP 441:switch 模式匹配
JEP 439:分代 ZGC
JEP 449:弃用 Windows 32 位 x86 移植
JEP 451:准备禁止动态加载代理
JEP 452:密钥封装机制 API
JEP 442:外部函数和内存 API(第三次预览)
JEP 446:作用域值(预览)
JEP 453:结构化并发(预览)
JEP 430:字符串模板(预览)
JEP 443:未命名模式和变量(预览)
JEP 445:未命名类和实例主方法(预览)
JEP 448:Vector API(孵化器第六阶段)
430: | String Templates (Preview) |
431: | Sequenced Collections |
439: | Generational ZGC |
440: | Record Patterns |
441: | Pattern Matching for switch |
442: | Foreign Function & Memory API (Third Preview) |
443: | Unnamed Patterns and Variables (Preview) |
444: | Virtual Threads |
445: | Unnamed Classes and Instance Main Methods (Preview) |
446: | Scoped Values (Preview) |
448: | Vector API (Sixth Incubator) |
449: | Deprecate the Windows 32-bit x86 Port for Removal |
451: | Prepare to Disallow the Dynamic Loading of Agents |
452: | Key Encapsulation Mechanism API |
453: | Structured Concurrency (Preview) |
Release notes: https://jdk.java.net/21/release-notes
Features: https://openjdk.org/projects/jdk/21/
评论