JDK 11 reached General Availability on 25 September 2018.google
JAVA_11是长期维护的LTS版本,下一个稳定版本发布将是3年后。.net
特别提醒java_8的更新是须要收费的。code
java_11 带来的新特性
- 181: Nest-Based Access Control
- 309: Dynamic Class-File Constants
- 315: Improve Aarch64 Intrinsics
- 318: Epsilon: A No-Op Garbage Collector
- 320: Remove the Java EE and CORBA Modules
- 321: HTTP Client (Standard)
- 323: Local-Variable Syntax for Lambda Parameters
- 324: Key Agreement with Curve25519 and Curve448
- 327: Unicode 10
- 328: Flight Recorder
- 329: ChaCha20 and Poly1305 Cryptographic Algorithms
- 330: Launch Single-File Source-Code Programs
- 331: Low-Overhead Heap Profiling
- 332: Transport Layer Security (TLS) 1.3
- 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
- 335: Deprecate the Nashorn JavaScript Engine
- 336: Deprecate the Pack200 Tools and API
二、升级到11评估风险orm
生产环境升级最新版本并持续的修复漏洞,是有必要的。11是个稳定并长期支持的版本,相对于8来讲并无什么大的变化。blog
11中有个ZGC(333)模块:A Scalable Low-Latency Garbage Collector,目前是Experimental(实验性的)。ip
ZGC是一款号称能够保证每次GC的停顿时间不超过10MS的垃圾回收器,而且和当前的默认垃圾回收起G1相比,吞吐量降低不超过15%。get
window下目录咱们能够看到变化了不少。it