Paul Krill
Editor at Large

Java’s Project Leyden arrives in early-access build

news
Jun 25, 20242 mins

Project Leyden is an OpenJDK project intended to improve the startup time, time to peak performance, and footprint of Java programs.

speed fast race car shutterstock 1168856884
Credit: Jamesboy Nuchaikong / Shutterstock

The OpenJDK’s Project Leyden, an effort to improve the startup time, time to peak performance, and footprint of Java programs, has published its first early-access build.

Accessible from java.jdk.net, the initial Project Leyden release focuses on improving application startup time, according to a June 24 bulletin on the Oracle Java team’s Inside Java website. Other Leyden optimizations will be explored in future releases. The easiest way to start with Leyden features is by using the java program in the Leyden Early Access Release with the -XX:CacheDataStore flag. Project Leyden is sponsored by Java’s HotSpot and Core Libraries groups.

Other highlights of the build include ahead-of-time (AOT) compilation of Java methods to natively execute them as soon as the application starts up in the production run, and ahead-of-time resolution of constant pool entries, allowing the AOT compiler to produce better code and speed application starts.

The Project Leyden early-access build also includes:

  • Archived method profiles for reaching Java application performance quicker.
  • A unified Cache Data Store archive that simplifies creation of the CDS archive, while supporting multiple types of optimization artifacts.
  • Ahead-of-time generation of dynamic proxies and reflection data. Frameworks use dynamic proxies extensively during startup time.
  • Loaded classes in the CDS archive when the application starts up.
  • A class loader lookup cache that helps application frameworks perform repeated lookups without repeatedly scanning the classpath.

Developers can provide feedback to the Project Leyden mailing list. A subscription is required.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author