# Project Leyden: How It Differs from GraalVM Native Images and Aims to Improve Java Performance

DevFeed: [Project Leyden: How It Differs from GraalVM Native Images and Aims to Improve Java Performance](<https://devfeed.tech/articles/project-leyden-43865.md>)

Original publisher: [Read original article](<https://quarkus.io/blog/quarkus-and-leyden/>)

Author: Maria Arias de Reyna Dominguez, Andrew Dinn, Sanne Grinovero

Published: 2024-08-06T00:00:00Z

Content type: article

Language: en

Sources: [Quarkus - Supersonic Subatomic Java](<https://devfeed.tech/sources/quarkus-supersonic-subatomic-java.md>)

Topics: [Project Leyden](<https://devfeed.tech/topics/project-leyden.md>), [Java](<https://devfeed.tech/topics/java.md>), [openjdk](<https://devfeed.tech/topics/openjdk.md>), [Quarkus](<https://devfeed.tech/topics/quarkus.md>), [JIT](<https://devfeed.tech/topics/jit.md>), [trimming](<https://devfeed.tech/topics/trimming.md>)

Tags: [aot](<https://devfeed.tech/tags/aot.md>), [compilation](<https://devfeed.tech/tags/compilation.md>), [java](<https://devfeed.tech/tags/java.md>), [jvm](<https://devfeed.tech/tags/jvm.md>), [performance](<https://devfeed.tech/tags/performance.md>), [project-leyden](<https://devfeed.tech/tags/project-leyden.md>), [quarkus](<https://devfeed.tech/tags/quarkus.md>), [startup](<https://devfeed.tech/tags/startup.md>), [trimming](<https://devfeed.tech/tags/trimming.md>)

## AI overview

This article explains Project Leyden, an OpenJDK initiative focused on improving Java startup time, time to peak performance, and program footprint. It distinguishes Leyden from GraalVM native images and discusses its potential benefits for Quarkus users.

## Source excerpt

You might have heard of Project Leyden, an initiative within the OpenJDK project with ambitious goals. As Quarkus users, you'll be wondering how this project will benefit you and how it's different from GraalVM native images. While we think it's fair to say that Leyden was inspired or at least motivated by some ideas first implemented in GraalVM's native images, Leyden is remarkably different. It's essential to understand how it works: as we will see, Leyden is not a replacement for GraalVM native images but rather a substantial evolution of the JVM, and we expect it to bring some benefits to native images as well. To try to clarify this, unfortunately, this post is unusually long: we wish it could have been a short guide, "This is how you enable Leyden," but this isn't quite the time yet, as we need to understand the different models first. Sometimes, the terminology is also different; for example, "Ahead of Time (AOT)" has a very specific meaning in the context of GraalVM native images and has traditionally been associated with "compilation", but in the context of Leyden is used more broadly to indicate a variety of aspects of JVM operation; hopefully, after reading this, it will be less confusing. Another significant misconception about Leyden is that it's a project to "improve startup times"; this statement is not wrong, as improving startup times is one of its goals. Yet the other stated goals of the project offer even more significant potential for our favourite platform, Quarkus, and its users. So, let's dive in. What is Leyden? Project Leyden is an initiative from the OpenJDK team. It is an ongoing experiment that is currently being developed by the joint effort of teams from different companies contributing to the project. The primary goal of this Project is to improve the startup time, time to peak performance, and footprint of Java programs. -- Project Leyden, first thing on its project page Leyden is a general umbrella project to address slow startup and