Big Java News- Java EE 8, Java 9, String Deduplication

Posted 11 September 2014 - 07:27 AM

Quote

String deduplication in Oracle Java 8 JVM

In "String Deduplication – A new feature in Java 8 Update 20," Fabian Lange introduces String Deduplication for the G1 Garbage Collector using the JVM option -XX:+UseStringDeduplication that was introduced with JDK 8 Update 20. The tools page for the Java launcher has been updated to mention the JVM options -XX:+UseStringDeduplication, -XX:+PrintStringDeduplicationStatistics, and -XX:StringDeduplicationAgeThreshold. More details on JDK 8 Update 20 are available in the blog post "Release: Oracle Java Development Kit 8, Update 20." The Lange post has also sparked discussion on this and related JVM options on the Java subreddit.

Java 9 features

Java 9 has been the hot topic of discussion in the Java community since the OpenJDK JDK 9 Project was announced. Long-awaited Java modularity (Project Jigsaw, which was booted from JDK 8) is probably the largest new feature anticipated for Java 9. Paul Krill writes in "Why developers should get excited about Java 9" that "Jigsaw isn't the only new addition slated for Java 9. Support for the popular JSON (Javascript Object Notation) data interchange format is key feature as well, along with process API, code cache, and locking improvements.