Oracle is moving forward with its Java-on-Java intentions, in which Java would be implemented on itself via the experimental Project Metropolis.
With Metropolis, the company proceeds on building a JIT (just-in-time) compiler written in Java, said Georges Saab, Oracle vice president of development for the Java platform. The project was described in a recent presentation as an experimental clone of JDK (Java Development Kit) 10, hosting work on ahead-of-time compilation and the Graal compiler. Metropolis also would provide for … Read the rest
Java could be getting a garbage collector that allocates but does not reclaim memory, providing special testing benefits.
A draft Java proposal recently floated named Epsilon GC calls for development of a garbage collector that handles only memory allocation. Authored by OpenJDK contributor Aleksey Shipilev, a principal software engineer at Red Hat, the proposal is described as offering an “arbitrarily low-overhead garbage (non)-collector.” Shipilev hopes to provide a passive runtime garbage collector implementation with a bounded allocation limit and minimum … Read the rest
JEP 213: Milling Project Coin defines a set of small language changes for Java 9. Three of these changes are related to the OpenJDK Project Coin-based language changes that debuted in Java 7, and the other two changes are considered Coin-like. This post introduces you to all of these tiny language improvements.
Smoothing Project Coin
JEP 213 broadens the scope of Java 7’s
SafeVarargs annotation type and diamond operator while enhancing the try-with-resources statement. This section explores all of … Read the rest
Implementing microservices in Java has become a top priority at Oracle, which is rebooting Java Enterprise Edition for microservices and cloud deployments. Meanwhile, another microservices effort for Java has emerged separate from Oracle.
Attributed to Sixt, a rental car service operating worldwide, the lightweight java-micro framework enables developers to easily set up microservices in Java. Developers can build services as a Docker container or fat jar package, and they can configure environment, command-line, and external services.
The framework features … Read the rest
Starting in April, Oracle will treat JAR files signed with the MD5 hashing algorithm as if they were unsigned, which means modern releases of the Java Runtime Environment (JRE) will block those JAR files from running. The shift is long overdue, as MD5’s security weaknesses are well-known, and more secure algorithms should be used for code signing instead.
“Starting with the April Critical Patch Update releases, planned for April 18, 2017, all JRE versions will treat JARs signed with MD5 … Read the rest