Countdown to Java 9 Release Date
What are the most exciting features expected in Java 9?
What are the most exciting features expected in Java 9?
Java + REPL (Read-Eval-Print-Loop) = jshell
If you are gonna run a few lines of Java you won’t have to wrap them in a separate project or a method.
Microbenchmarks are coming
The Java Microbenchmarking Harness (JMH) by Alexey Shipilev is taking the next step in its evolution.
Default GC
Java has four garbage collectors. With comming Java 9 (that’s still in debate) is to replace the default GC (The parallel / Throughput collector) with G1 GC which was first introduced in Java 7.
HTTP 2.0 protocol
The HTTP 2.0 RFC protocol was approved only a few months ago and is based on Google's SPDY algorithm. Within SPDY, speed will be significantly improved over HTTP 1.1, and its implementation already exists in most new browsers. Java 9 will have support for HTTP 2.0 and will include a brand new HTTP client to replace the legacy HttpURLConnection.
Changes in the process API
Until now, we've had a pretty limited ability to access OS processes using Java. For example, if you want to get the PID in older versions of Java, you have to either use native code or use some other solution - different implementations for different platforms to guarantee you get the same result). In Java 9, you will have the ability to interact with the operating system: new methods for handling PIDs, the ability to enumerate processes, etc.