18 December, 2014

Listing the features that Java 9 holds

Oracle has recently announced the features of Java 9. An upgraded version Java 8, it will consist of many new capabilities, performance tweaks as well as modularity as its most crucial aspects. The first set of Enhancement Proposals known as JEPs have also been announced. These constitute a new process that provides the scope for development and further explore the features for Java language as well as the virtual machine that does not demand an entire process of specification. It makes the scope of the JEPs smaller and targeted more than before as well as results in tackling the issues that are specific to implementing the open JDK.

With this, the early list of the JEPs that has been made targeting the release has already been published. These include the following of accepted features:

API Updates
java web development
This will help the new version of the language for extending the ability of Java in order to make the same interact with an OS. It includes direct as well as new methods for handling PIDs, states and names of the processes along with the enhanced ability for enumeration of the JVMs, processes, etc.

Before including or adapting this feature, the actions related to the management and control of the operating system processes with Java had a limited scope. This new feature has made things easier.

Project Jigsaw-Modular Source Code
Project Jigsaw is included in the 9th version in order to make it scalable easily to even small computing devices. The feature is expected to work towards improving the performance as well as security thereby making it easy for the developers while constructing and maintaining libraries.

It is the most hyped about feature for this upgraded version. It aims to make Java a modular one besides focusing on breaking down the JRE into numerous components that are interoperable by nature. It has been claimed that this new feature will not interfere or make any change to the actual structure of JRE and JDK.

It aims at reorganizing the JDK source into various modules in order to enhance the build system to compile modules. It also aims for the enforcement of module boundaries at the ‘build time’.

Money and Currency API
With Java 8 a new Date and Time API was introduced, the 9th version has gone a step further by launching a new official API for the purpose of transporting, representing and carrying out comprehensive calculations related to Money & Currency.

Improvement of Contended Locking
Lock contention as a performance bottleneck is a common feature for various multi-threaded Java applications. In case of the new upgraded 9th version of this language, the proposal of enhancement focuses further for improving the performance of different Java object monitors with respect to the same being measured with the help of various benchmarks. It is expected that the feature will lead to a success for major improvement of a total number of 22 benchmarks.

Lightweight JSON API
Opposed to JSR 353 that makes use of some external package or other alternatives, this new feature is claimed to be a part of the language. It is said to be lightweight and expected to make extensive use of all the new features of Java 8. It would require no alternative for the purpose of handling JSON in Java. Moreover, it is said to be delivered directly through java.util.

Segmented Code Cache
This feature is related to another performance improvement measure that heads from JIT Compiler angle to be included in the upgraded version. The purpose of this update is to make provisions for the segmentation of the code cache into various areas of the compiled code and focus on improving the performance of compiler.

It segments the code cache into 3 distinct areas - JVM Internal/ non-method code, Profiled code and Non Profiled code. Such segmentation will allow for the occurrence of several performance improvements.

Phase 2 - Smart Java Compilation
This feature was initially worked on at the time of JEP 139 with the help of the Smart Java Compilation tool or sjavac with the main motto of improving the build speeds of the JDK by allowing the compiler to let it run on all cores. The feature enters the second phase with JEP 199 where there are suitable provisions for the generalization and improvement of the same. This will further allow it to be used by default and use for building other projects apart from JDK.

The upgraded version is reported to be released in 2016. The JEPs those become successful can, thus, be further converted to requests for standardization.

If you are interested in outsourcing java development to companies in India who can help you build products within allocated budgets and time schedules, do check Mindfire Solutions.

We provide java web development services. If you would like to hire java developer from our team, please get in touch with us.

No comments: