A first experimental change has been added to Java 9 so the JVM can understand that it is running within a container and adjust memory limits accordingly. Despite the increase in popularity of containers, many tools, including the JVM, still rely on the host's parameters to assess available resources, oftentimes running out of memory. This change tries to prevent many of those scenarios.
The Twitter Sponsored Solutions track at QConSF2016 features an engineering talk on JVMs Across the Data Center and unveils an in-house OpenJDK fork, the Twitter-JDK, with noted potential open-sourcing or release to broader public.
OpenJDK HotSpot may get Ahead-of-Time (AOT) compilation as early as Java 9. InfoQ covers the proposal submitted in September 2016.
Oracle has created JEP 293 to introduce a set of guidelines for command line options in JDK tools in an attempt to fix the existing disparity among them. The JEP has no target version yet, meaning it will be delivered with Java 10 as soonest; however, taking into account that the scope is only to create a set of guidelines for new options, it may take even longer for the effects to be felt.
Project Jigsaw has been in the works for a while now. On March 22nd 2016, an initial implementation of 'Module System' which is the last major component of Project Jigsaw, was pushed to JDK 9 in early access build 111.
A feature proposal to extend type inference to local variables in Java has been posted to the JEP discussion list, asking for feedback regarding the feature. InfoQ looks at the proposal and what it might mean for the Java platform.
Alan Bateman has sent a mail to the JDK-9 development list, indicating that a snapshot of Jigsaw will be integrated later this month. InfoQ looks in deeper to see what this will mean.
As Java 9 approaches general availability, many of the defining JEPs are starting to take final shape. JEP 260 (Encapsulate Most Internal APIs) proposes to expose the functionality of the controversial sun.misc.Unsafe class via variable handles, and a new posting to the JDK Bug tracker proposes further optimizations and cleanups for Unsafe.
OpenJDK 9 introduces the compact strings optimization. InfoQ interviews Oracle Java performance engineer Aleksey Shipilev to understand more about this optimization and its performance impact.
We distill here some of the reactions around the web regarding Google’s adoption of OpenJDK for future Android versions.
Hacker News has reported on an Android source code commit that suggests that Google’s mobile operating system is switching the implementation of their Java libraries from the original Harmony-based one to OpenJDK. The move has been confirmed by Google to VentureBeat.
OpenJDK will decommission the HPROF agent and remove the jhat tool from JDK 9. InfoQ covers options that supersede these commandline JDK tools.
Azul Systems has released Zulu Embedded, a new open source embedded JDK, based on OpenJDK. It is targeted at companies that have embedded Java-based products such as mobile and IoT devices. Examples include routers and switches, ATM machines, avionics systems, automotive electronics and Point of Sale (POS) systems.
Today at EclipseCon, Mark Reinhold gave a keynote on "Java 9 and Beyond" which looked at the upcoming features in Java 9 and some of the future plans for the Java ecosystem. InfoQ summarises the main parts of what will and might happen in the future.
The cleanup programme for OpenJDK has reached a major milestone - the main OpenJDK jdk repository is now free of build warnings.