<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/jep-544-ahead-of-time-code-compilation-idncwszkw" -->

---
title: JEP 544: Ahead-of-Time Code Compilation | daily.dev
description: JEP 544 proposes extending HotSpot's AOT cache to store optimized native code compiled during a training run, so that production runs can load...
canonical: https://daily.dev/posts/jep-544-ahead-of-time-code-compilation-idncwszkw
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: JEP 544: Ahead-of-Time Code Compilation | daily.dev
og:description: JEP 544 proposes extending HotSpot's AOT cache to store optimized native code compiled during a training run, so that production runs can load...
og:url: https://daily.dev/posts/jep-544-ahead-of-time-code-compilation-idncwszkw
og:image: https://api.daily.dev/og/posts/IdnCWSzKw.png
og:image:alt: JEP 544: Ahead-of-Time Code Compilation
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# JEP 544: Ahead-of-Time Code Compilation

**[Awesome Java Newsletter](https://daily.dev/sources/java_libhunt)** · 16 min read · 0 upvotes · 0 comments

## Summary

JEP 544 proposes extending HotSpot's AOT cache to store optimized native code compiled during a training run, so that production runs can load already-optimized code instantly instead of relying solely on interpretation and JIT compilation. This combines AOT startup benefits with JIT's ability to deoptimize and reoptimize as workloads change. It builds on JEP 483 (class loading/linking in the AOT cache, JDK 24) and JEP 515 (AOT profiling, JDK 25). Benchmarks show startup improvements of roughly 65-80% and significant warmup-time gains. The feature requires no application code changes, targets AArch64 and x64 initially, and supports Serial, Parallel, G1, and ZGC collectors. AOT code falls back to JIT when CPU features, architecture, or GC choice differ between training and production runs.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://openjdk.org/jeps/544>

## Questions this post answers

### What does JEP 544 add to the Java HotSpot AOT cache?

JEP 544 extends HotSpot's AOT cache to store optimized native code (AOT code) generated during a training run, not just pre-linked classes and profiling data as in JEP 483. In production runs, HotSpot loads this cached native code instantly instead of recompiling it, improving both startup and warmup time while still falling back to JIT compilation if the workload changes.

_developers tracking JVM startup performance improvements can follow JEP updates like this on daily.dev._

### How much does AOT code improve Java application startup time compared to the AOT cache alone?

Without AOT code, the AOT cache reduces startup time of benchmark applications by around 50% to 70%; adding AOT code improves this further to around 65% to 80%. In a javac benchmark, the AOT cache alone gave about a 30% startup improvement, while adding AOT code brought a total improvement of about 75%.

_engineers weighing JVM startup optimizations can keep tabs on JEP benchmarks via daily.dev._

### What CPU architectures and garbage collectors does JEP 544 AOT code support?

AOT code initially targets the AArch64 and x64 processor architectures and supports the Serial, Parallel, G1, and ZGC garbage collectors. Training and production runs must use CPUs of the same architecture and feature set and the same garbage collector, since AOT code contains GC-specific read/write barriers; otherwise HotSpot falls back to the interpreter and JIT.

_teams planning JVM upgrades can track feature and platform constraints like these on daily.dev._

## Similar posts on daily.dev

- [Ahead-of-Time Class Loading & Linking](https://daily.dev/posts/ahead-of-time-class-loading-linking-yftlbv7es) · Baeldung · 0 upvotes · 0 comments
- [Run Into the New Year with Java’s Ahead-of-Time Cache Optimizations – Inside.java](https://daily.dev/posts/run-into-the-new-year-with-java-s-ahead-of-time-cache-optimizations-inside-java-75zsl41gf) · Inside Java · 1 upvotes · 0 comments
- [A Guide to Ahead-of-Time Cache in the Java](https://daily.dev/posts/a-guide-to-ahead-of-time-cache-in-the-java-xfptxkmvl) · Baeldung · 3 upvotes · 0 comments
- [Java's new AOT cache feature is in a rough state](https://daily.dev/posts/java-s-new-aot-cache-feature-is-in-a-rough-state-xatp3n3gd) · Hacker News · 0 upvotes · 1 comments
- [How is Leyden improving Java Performance? Part 2 of](https://daily.dev/posts/how-is-leyden-improving-java-performance-part-2-of-k95xs5i7z) · Foojay.io · 1 upvotes · 0 comments

---

Tags: [#java](https://daily.dev/tags/java), [#compiler-optimization](https://daily.dev/tags/compiler-optimization)

[View this post on daily.dev](https://daily.dev/posts/jep-544-ahead-of-time-code-compilation-idncwszkw)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"JEP 544: Ahead-of-Time Code Compilation","url":"https://daily.dev/posts/jep-544-ahead-of-time-code-compilation-idncwszkw","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/jep-544-ahead-of-time-code-compilation-idncwszkw"},"datePublished":"2026-09-17T20:55:53.536Z","dateModified":"2026-09-17T22:48:07.250Z","description":"JEP 544 proposes extending HotSpot's AOT cache to store optimized native code compiled during a training run, so that production runs can load...","image":"https://media.daily.dev/image/upload/s--ZrL_HSsR--/f_auto/v1722860399/public/Placeholder%2006","thumbnailUrl":"https://media.daily.dev/image/upload/s--ZrL_HSsR--/f_auto/v1722860399/public/Placeholder%2006","isAccessibleForFree":true,"articleSection":"Awesome Java Newsletter","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Awesome Java Newsletter","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/7729929f2ca649d7b13f6b04aa94d300","url":"https://daily.dev/sources/java_libhunt"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/jep-544-ahead-of-time-code-compilation-idncwszkw","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"java,compiler-optimization","timeRequired":"PT16M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Awesome Java Newsletter","item":"https://daily.dev/sources/java_libhunt"},{"@type":"ListItem","position":3,"name":"JEP 544: Ahead-of-Time Code Compilation"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/jep-544-ahead-of-time-code-compilation-idncwszkw#faq","mainEntity":[{"@type":"Question","name":"What does JEP 544 add to the Java HotSpot AOT cache?","acceptedAnswer":{"@type":"Answer","text":"JEP 544 extends HotSpot's AOT cache to store optimized native code (AOT code) generated during a training run, not just pre-linked classes and profiling data as in JEP 483. In production runs, HotSpot loads this cached native code instantly instead of recompiling it, improving both startup and warmup time while still falling back to JIT compilation if the workload changes. developers tracking JVM startup performance improvements can follow JEP updates like this on daily.dev."}},{"@type":"Question","name":"How much does AOT code improve Java application startup time compared to the AOT cache alone?","acceptedAnswer":{"@type":"Answer","text":"Without AOT code, the AOT cache reduces startup time of benchmark applications by around 50% to 70%; adding AOT code improves this further to around 65% to 80%. In a javac benchmark, the AOT cache alone gave about a 30% startup improvement, while adding AOT code brought a total improvement of about 75%. engineers weighing JVM startup optimizations can keep tabs on JEP benchmarks via daily.dev."}},{"@type":"Question","name":"What CPU architectures and garbage collectors does JEP 544 AOT code support?","acceptedAnswer":{"@type":"Answer","text":"AOT code initially targets the AArch64 and x64 processor architectures and supports the Serial, Parallel, G1, and ZGC garbage collectors. Training and production runs must use CPUs of the same architecture and feature set and the same garbage collector, since AOT code contains GC-specific read/write barriers; otherwise HotSpot falls back to the interpreter and JIT. teams planning JVM upgrades can track feature and platform constraints like these on daily.dev."}}]}
```

