Project Leyden Aims to Improve Java Startup Time

published 18.05.2020 02:00

Image of article 'Project Leyden Aims to Improve Java Startup Time'
Share

Leyden would introduce a new split path fior how applications run: Applications could follow the traditional course to run the bytecode, optimizing the "hot spots" of the application to native machine code as the application runs.

Leyden and GraalVM would work across a similar chain that developers follow to write and build applications: Developers write custom source code that connects to and relies on APIs of selected libraries, typically in JAR files.

Once approved and completed, this would enable developers to compile Java code (just-in-time) to native applications (ahead-of-time), offering capabilities similar to GraalVM's native mode.

Java Language Architect Mark Reinhold proposed the creation of a new OpenJDK project Leyden: static application binaries with faster startup and lower memory.

Quarkus leverages GraalVM native image to produce applications that are "supersonic" in the time to first request or startup as a serverless function, and "subatomic" where the natively compiled application is smaller than the original Java bytecode.