Java语言JDK新版本中重要特性详细解析,包含从JDK 9 ~ 最新发布的 OpenJDK 版本 。
时间1~2天。
并发、流和NIO
- Flow API
- Sequenced Collections
- 虚拟线程Virtual Threads
- HTTP/2 Client
- Simple Web Server
- Unix-Domain Socket Channels
语法
- Records
- 密封类和接口
- var语法
- Switch表达式
- 加强的 instanceof
- 文本块
- Unnamed Variables & Patterns
- Stream Gatherers
GC
- G1为缺省垃圾收集
- GC接口
- Epsilon: No-Op GC
- ZGC
- Shenandoah GC
JVM
- Elastic Metaspace
- Heap Allocation on Alternative Memory Devices
- Reimplement Core Reflection
- Foreign Function & Memory API
- Microbenchmark Suite
- Class-File API
- Compact Object Headers
- JVM编译接口
- AOT Compilation
模块化
- Module System
- 模块化 Image
- JDK Internals 包装
- jlink
- 多版本Jar
- Packaging Tool
安全
- TLS 1.3
- PKCS12 Keystores
- 根证书
- SecureRandom | SHA-3 | ChaCha20和Poly1305
- EdDSA算法
- Key Encapsulation Mechanism API
CDS
- AppCDS
工具
- JFR 和 JFR Streaming
- Unified JVM/GC Logging
- jshell
- 启动单文件/多文件源代码程序
- Code Snippets
- UTF-8 by Default
- Markdown文档
移除的功能
- 移除 Java EE and CORBA Modules
- 移除 CMS GC
- 移除 Nashorn JavaScript Engine
- 移除 Experimental AOT and JIT Compiler
- 移除 Security Manager