Java Magazine, Sept/Oct 2018
ORACLE COM JAVAMAGAZINE SEPTEMBER OCTOBER 2018 56 the leading edge Arm including Debian Oracle Linux Red Hat Linux SUSE and Ubuntu All the tooling at the OS and kernel level is stable and ready for production use Availability of Java on Arm Architectures End users will find a good choice of providers for Java and OpenJDK binaries for Arm based architectures The Java ports for both the ARMv7 and ARMv8 ISAs are fully functional and the codebases are available from OpenJDK under the GPLv21 license with the classpath extension which enabled most Linux distributions to bundle them If your favorite Linux distribution does not contain the required packages or you are looking for commercial support an excellent set of Java OpenJDK binaries is provided by AdoptOpenJDK Azul BellSoft and Oracle At the time this article was written Azul and Oracle provide only JDK 8 binaries for the ARMv8 and ARMv5 6 7 ISAs while BellSoft ofers binaries for JDK 9 and 10 that for the Raspberry Pi include the OpenJFX and Device I O API modules Azul BellSoft and Oracle provide supported binaries that comply with the Java SE specification and they verify their binaries with the Java Compatibility Kit JCK test suite Features of the Java Ports for Arm Architectures Although it is very important to ensure the compatibility of Java implementations passing the JCK test suite is not the only requirement for a successful Java port To meet startup and throughput performance expectations Java ports for both the ARMv7 and ARMv8 ISAs implement C1 and C2 JIT compilers thus allowing them to produce optimized code that takes advantage of the underlying architecture specifics On top of that the XX TieredCompilation commandline option is supported and turned on in the server virtual machine VM which allows faster startup and higher C2 throughput A full set of garbage collectors GCs the parallel G1 the serial GCs and the deprecated CMS is supported in both the ARMv7 and ARMv8 Java ports For embedded use cases some ARMv7 ports include a lightweight minimal VM On JDK 9 or higher the new Java modules enable building Java runtime images that have a low static footprint Running the following commands on the BellSoft ARM JDK 10 for example pro
You must have JavaScript enabled to view digital editions.