Earlier Oracle released Java 10, the first version of Oracle's change-release strategy, Java,oracle has decided to release a new Java version every six months, shortening the cycle, but not that we need to learn more, but that after shortening the development cycle, Helps fix bugs faster and releases new features early, because time is short so new features aren't many. This update mainly includes: local variable type inference, G1 parallel full garbage collection, and beta version of the java-based JIT compiler. Details of the update are as follows:
local variable type inference: based on the type inference of the Java 8 lambda expression, Java 10 is now able to infer the local variable type.
G1 Parallel Full garbage collection: improves the worst-case latency level for a full garbage collection of G1.
application-class data sharing: optimizes startup speed and reduces overhead by extending the existing class data sharing (Class-data sharing, CDS) feature to allow class to be stored in a shared archive.
beta version of the java-based JIT compiler: the java-based JIT compiler Graal is enabled in Linux 64-bit environments. Graal is a generic virtual machine that can run applications written in Javascript,python, Ruby, R, and the JVM language Java, Scala, Cloujure, Kotlin programming languages, and can run programs written in the LLVM-based programming language. such as C and C + +, and can provide faster speeds.
Garbage Collection Interface: in order to make the source code of different garbage collector better separated, a new clean garbage collector interface is introduced. It can make the hotspot internal garbage collection code more modular, the new garbage collector implementation does not affect the existing garbage collector code, can be queued to the implementation of a garbage collector.
Local thread handshake: When a thread callback function is executed, the Global VM restore point is no longer restored, making it possible to shut down a single thread and reduce overhead.
added Unicode language tag extension: enhanced Java.util.Locale and its associated APIs to implement BCP Unicode extensions.
allow heap allocation on other memory devices: For example, you can use a NV-DIMM memory device.
Root certificate: A default set of root certificate authority (CA) is provided.
Time-based release version: fixed version string pattern for Java SE platform and JDK.
Merge the JDK forest to a single warehouse: unifies the distributed JDK warehouse into a warehouse, simplifying the JDK development process.
Java 10 update rollup, new compiler all-in-all mainstream programming language