As is typical when JavaOne is imminent, there has been much big news in the Java community recently. This post briefly references three of these items (Java SE 8 updates, Java SE 9, and Java EE 8) and a "bonus" reference to a post I found to be one of the clearer ones I have seen on classpath/classloader issues.
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: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 EE 8
Reza Rahman's post Java EE 8 Takes Off! talks about JSR 366 (Java EE 8 Specification) being kicked off. This post lists some of the anticipated high-level content for Java EE along with links to related JSRs.
Demystifying the Java classpath
Java classpath issues are definitely one of the more difficult challenges that Java developers can face. The post Jar Hell made Easy - Demystifying the classpath with jHades provides a nice overview of some of the most common issues related to classpath and classloaders with concise and simple explanations of why these occur. I have not used jHades, but the quality of this post has definitely sparked my interest in that tool.
This story, "Big Java news in late summer 2014" was originally published by marxsoftware.blogspot.com .