A new JEP draft has been filed to create a no-op garbage collector: a GC that doesn't actually reclaim memory. This is aimed at aiding JVM implementers and researches and, to a lesser extent, ultra-performant applications that generate little to no garbage. If the JEP goes ahead, the new GC would be available together with the existing ones, and would have no effect unless explicitly activated.
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.
OpenJDK HotSpot may get Ahead-of-Time (AOT) compilation as early as Java 9. InfoQ covers the proposal submitted in September 2016.
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.
Today at EclipseCon, Oracle announced the launch of the Java 8 platform, bringing Lambdas and Streams to the language as well as fixing some long-standing issues with the JVM. Read on to find out more about the release.