With work moving forward on the next edition of standard Java, developers can start looking forward to what they will get with the planned upgrade.
See this : How to Create Your Own Ransomware Virus
Here is a rundown of what’s in store with JDK 9.
Modular source code
JDK source code will get reorganized into modules, the build system will get enhanced to compile modules, and module boundaries will be enforced at build time. “Project Jigsaw aims to design and implement a standard module system for the Java SE Platform and to apply that system to the platform itself and to the JDK. Its primary goals are to make implementations of the platform more easily scalable down to small devices, improve the security and maintainability, enable improved application performance, and provide developers with better tools for programming,” the JEP document says.
Lightweight JSON API
You must know ; Create Android Studio Live Templates for Writing Less Code
Process API updates
This will improve the API for managing operating system processes and is intended to overcome limitations of the current API that often forces developers to use native code. Java SE 7, the JEP notes, offers limited support for native operating system processes; the new API, though, needs to account for operating system differences, particularly on Windows. “The design of this API needs to accommodate possible deployment on smaller devices with different operating system models. It should also take into account environments where multiple Java virtual machines are running in the same operating system process,” the JEP document states.
Improve contended locking
The goal is to improve contended Java object monitors. The documentation says that “improving contended locking will significantly benefit real-world applications in addition to industry benchmarks such as Volano and DaCapo.”
Do you know : Comparison of All Android Image Loading Library
Segmented code cache
This effort is intended to divide code cache into segments, each containing compiled code of a particular type, to improve performance and allow extensions.
Smart Java Compilation, Phase 2
This project is intended to improve the
sjavac (Java programming language compiler) tool enabling it to be used by default in the JDK build and also to generalize it so it can be used to build large projects other than the JDK. “The current implementation has proved to be useful and does indeed improve build speed and allow for incremental builds. The quality of the code and stability of the tool as a whole, however, is not satisfactory and it is certainly not ready for public release,” the JEP document states.
Source: Will Android support Java 9 after Kotlin updates?