Oracle announces more new Java 9 features

Source: Internet
Author: User

As Oracle confirms the remaining 4 Java 9 features, the next generation of Java plans is beginning to become clearer, and Oracle has unveiled the second set of Java 9 features. Since Oracle announced 3 new APIs and modular sources earlier this year, it was Oracle's first launch of the Java 9 feature table.

Unified JVM Log (JEP 158)

Java 9 will take the same log format for all JVM components. This will change the way the JVM subsystem logs events and adds a unified command option to the log.

More compiler controls (JEP 165)

Oracle wants to take advantage of a range of control options to provide more granular control over the hostspot JIT compiler. This improvement will allow developers to gain more control over the method context (Method-control) in terms of optimization, while allowing them to change the control options of the JVM compiler.

Removal of obsolete GC combinations (JEP 214)

This update will remove three obsolete garbage collection combinations: Defnew + CMS, Parnew + serialold, and incremental mode CMS, which are deprecated in Java 8. Oracle claims that the removal of the garbage collection is motivated to save maintenance costs. Hopefully these changes will free up some resources to simplify hostspot GC code, reducing bugs and improving other GC combinations

Improvement of defects in coin project (JEP 213)

The coin project was first created to make some minor language changes to Java 7. The practice proves that these modifications are easy to use and effective, so Oracle plans to return to this project to resolve the legacy of the language when it was modified. The project sponsors have made it clear that this modification is not a second version of the coin project, and that they are no longer seeking new language proposals.

Reference: What does the Java community think about the features of Java 9

It has been confirmed that Java 9 will support datagram Transport Layer Security, along with the output HTML5 format of the Javadoc tool

Oracle also announced a project to complete a warning cleanup, which has been going on for several years. Improved repair of import processing issues, not recommended classes will no longer trigger warning reminders

Java 9 modularity is proven

Oracle has also committed to modular source code. The plan for modular JDK source code was released early this year, and Oracle's engineering team has laid the groundwork for a structured implementation of Jigsaw (JEP152 and JEP201) projects

Reference: Will the Panama project be added to the Java 9 feature?

Mark Reinhold, chief architect of the Java platform, clarified that Oracle's plan to replace jars with modules in the JRE and JDK would have some impact on the IDE (integrated development environment). "This will affect a small class of applications, primarily the IDE and other development tools that need to enumerate and detect classes stored in the running image."

According to Reinhold, a new mechanism capable of detecting these classes (JEP 220) would be enabled and would enable these classes to somehow be immune to changes in formatting effects. His recent words "jar format has come to its end, and now is the time to make a change and move on." "The programmer who has given the Jar wrapper class libraries and applications has caused unease. In this case, Reinhold said, "Those applications will still work well."

The first set of Java 9 features confirmed in August this year included 3 new APIs and 3 small features in the Java community that responded coldly.

original link: Jaxenter translation: importnew.com - Jin Lin
Link: http://www.importnew.com/13986.html

Oracle announces more new Java 9 features

Related Article

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.