Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the new features of Java9

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article introduces the relevant knowledge of "what are the new features of Java9". In the operation of actual cases, many people will encounter such a dilemma. Then let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

New APIs and performance features:

1. Lightweight JSON API

2. HTTP 2Client supports HTTP 2.0 and WebSockets to replace the traditional HttpURLConnection.

3. Process API updates improve the control and management of operating system processes.

There are also some small features and performance improvements:

1. Improvecontended locking to improve thread contention handling when accessing objects

2. Segmentedcode cache has better performance, shorter scanning time, and less fragmentation.

3. Smart Java compiler, or sjavac, is used to build larger projects

Java's local interface is also reused as part of Java Native Runtimeproject, supporting multiple GB heaps and a self-tuning JVM.

Modular source code

If you are not interested in the above features, Oracle also promises modular source code to reorganize and modularize the source code of JDK, as well as the structured implementation of the project Jigsaw.

Jigsaw was removed in Java 7 and returned in Java 9, which is the justice point of the next Java version of Oracle. The main purpose of the project is to provide scalability for smaller devices, improve the security of JDK and Java SE, improve performance for large applications, and make it easier to build. At the same time, PenroseProject is used to explore interoperability between Jigsaw and open source gateway initiatives.

Georges Saab, vice president of software development for Oracle's Java platform group, previously told JAXenter that the main work is currently working on Jigaws projects, and that the development team is exploring and building a prototype of a simple way to ensure that it will be available when Java 9 is released.

Turbulent version history

Anyway, Oracle knows how to deal with complaints about the unpunctual release of Java, some security issues to the previous Lambda project and Applet, and so on, which delayed the release of Java 8 by two years, and even now there are some updates to Java 8 that make many development tools unusable.

That's all for "what are the new features of Java9"? thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report