JDK 10 新特性概览
JEP 286: Local-Variable Type Inference
Enhance the Java Language to extend type inference to declarations of local variables with initializers.
JEP 286: 局部变量类型推断
增强Java语言,将类型推断扩展到带有初始化器的局部变量声明。
JEP 296: Consolidate the JDK Forest into a Single Repository
Combine the numerous repositories of the JDK forest into a single repository in order to simplify and streamline development.
JEP 296: 将JDK森林整合为单一代码库
将JDK森林中的多个代码库合并为一个单一的代码库,以简化和优化开发流程。
JEP 304: Garbage Collector Interface
Improve the source code isolation of different garbage collectors by introducing a clean garbage collector (GC) interface.
JEP 304: 垃圾收集器接口
通过引入一个干净的垃圾收集器(GC)接口,改善不同垃圾收集器的源代码隔离。
JEP 307: Parallel Full GC for G1
Improve G1 worst-case latencies by making the full GC parallel.
JEP 307: G1的并行全GC
通过使全GC并行来改善G1的最坏情况延迟。
JEP 310: Application Class-Data Sharing
To improve startup and footprint, extend the existing Class-Data Sharing ("CDS") feature to allow application classes to be placed in the shared archive.
JEP 310: 应用程序类数据共享
为了改善启动时间和内存占用,扩展现有的类数据共享("CDS")功能,允许将应用程序类放入共享归档中。
JEP 312: Thread-Local Handshakes
Introduce a way to execute a callback on threads without performing a global VM safepoint. Make it both possible and cheap to stop individual threads and not just all threads or none.
JEP 312: 线程局部握手
引入一种在不执行全局虚拟机安全点的情况下在线程上执行回调的方法。使得停止单个线程变得可能且廉价,而不仅仅是停止所有线程或不停止任何线程。
JEP 314: Additional Unicode Language-Tag Extensions
Enhance java.util.Locale
and related APIs to implement additional Unicode extensions of BCP 47 language tags.
JEP 314: 额外的Unicode语言标签扩展
增强 java.util.Locale
和相关API,以实现BCP 47语言标签的额外Unicode扩展。
JEP 316: Heap Allocation on Alternative Memory Devices
Enable the HotSpot VM to allocate the Java object heap on an alternative memory device, such as an NV-DIMM, specified by the user.
JEP 316: 在替代内存设备上分配堆
使 HotSpot 虚拟机能够在用户指定的替代内存设备(如 NV-DIMM)上分配 Java 对象堆。
JEP 317: Experimental Java-Based JIT Compiler
Enable the Java-based JIT compiler, Graal, to be used as an experimental JIT compiler on the Linux/x64 platform.
JEP 317: 实验性基于Java的JIT编译器
启用基于Java的JIT编译器Graal作为Linux/x64平台上的实验性JIT编译器。
JEP 319: Root Certificates
Provide a default set of root Certification Authority (CA) certificates in the JDK.
JEP 319: 根证书
在JDK中提供一组默认的根证书颁发机构(CA)证书。
JEP 322: Time-Based Release Versioning
Revise the version-string scheme of the Java SE Platform and the JDK, and related versioning information, for present and future time-based release models.
JEP 322: 基于时间的版本发布
修订Java SE平台和JDK的版本字符串方案及相关版本信息,以适应当前和未来基于时间的发布模型。