Java 10 update rollup, new compiler all-in-all mainstream programming language

Source: Internet
Author: User
Tags garbage collection java se

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.