$java -versionThe release note can be found here.
java version "9"
Java(TM) SE Runtime Environment (build 9+181)
Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode)
There you can find interesting things like:
The command line flags that were removed are:or
JEP 291: Deprecate the Concurrent Mark Sweep (CMS) Garbage CollectorMy favourite is:
Deprecates the Concurrent Mark Sweep (CMS) garbage collector. A warning message is issued when it is requested on the command line, using the
-XX:+UseConcMarkSweepGCoption. The Garbage-First (G1) garbage collector is intended to be a replacement for most uses of CMS.
JEP 222: jshell: The Java Shell (Read-Eval-Print Loop)(See my posting jshell and swing, jshell and scripts and jshell built-in commands)
Adds Read-Eval-Print Loop (REPL) functionality to the Java platform.
jshelltool provides an interactive command-line interface for evaluating declarations, statements, and expressions of the Java programming language. It facilitates prototyping and exploration of coding options with immediate results and feedback. The immediate feedback combined with the ability to start with expressions is useful for education—whether learning the Java language or just learning a new API or language feature.