http://www.oracle.com/technetwork/java/javase/downloads/index-jsp-138363.html#javasejdk
$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
- -Xincgc
-XX:+CMSIncrementalMode
-XX:+UseCMSCompactAtFullCollection
-XX:+CMSFullGCsBeforeCompaction
-XX:+UseCMSCollectionPassing
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:+UseConcMarkSweepGC
option. 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.
Thejshell
tool 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.
No comments:
Post a Comment