01Chapter 1: Where JVM startup time goesThis chapter breaks JVM startup into its phases. It shows which phases repeat on every run and which of them the AOT cache can remove. Later chapters cover the cache itself.8 min read
02Chapter 2: Class loading, verification and linkingThis chapter covers what the JVM does between "this class is needed" and "this class can run". The AOT cache removes much of that work, so you need the model first. I assume you can compile and run Java from the command line, know what a classpath and a JAR are, and have used -Xlog or a similar JV8 min read
03Chapter 3: From Class Data Sharing to the AOT cacheThis chapter assumes you can compile and run a Java program from the command line and package it as a JAR. It also assumes you know what the classpath is and know that the JVM loads classes on demand. You don't need to know how the JVM stores classes internally. This chapter explains that as it goes7 min read
04Chapter 4: What the AOT cache storesThis chapter assumes you can compile a class and package it into a JAR, and that you know the JVM loads classes on demand and compiles hot methods with the JIT. You don't need to know the cache workflow yet. The next chapters cover how to build one.7 min read
05Chapter 5: Choosing a representative training runThis chapter assumes you can compile a class and package it into a JAR. It also assumes you know the classpath, and you have seen the three-step record, create and run workflow from the previous chapter. You should know that the JVM loads classes lazily, the first time code needs them.6 min read
06Chapter 6: Record, create and runThis chapter assumes you can compile a class and package it into a JAR, you know what the classpath is, and you have a rough picture of class loading from the earlier chapters. You need JDK 24 or later on your path. Check with java -version.6 min read
07Chapter 7: Measuring the improvement and checking that the cache is usedYou have a cache file from the record, create and run workflow. This chapter covers two questions. First, is the application faster? Second, did the JVM actually use the cache, or did it quietly ignore it and run normally?7 min read
08Chapter 8: When the JVM accepts or rejects a cacheThis chapter assumes you can build a JAR, run the record, create and run steps from the previous chapter, and read JVM log output. It covers the checks the JVM makes before it uses an AOT cache, what happens when a check fails, and how to make a failure visible.7 min read
09Chapter 9: Creating the cache in one step with JDK 25The previous chapter built the cache in three commands: record, create, run. JDK 25 lets you collapse the first two into one command. This chapter covers the flag, what the JVM does behind it, when you should still use the three-step form, and how to make a missing or unusable cache fail loudly.6 min read
10Chapter 10: Faster warmup with cached method profilesThe earlier chapters moved class loading and linking work out of every run and into a one-time cache build. This chapter covers a second kind of saved work. It is the profiling data the JVM normally collects before it knows which methods deserve optimization. JDK 25 added this as ahead-of-time metho8 min read
11Chapter 11: Building the cache in CI and container imagesThis chapter assumes you can already run the record, create and run steps by hand. It also assumes you know that the JVM checks a cache against the JDK and classpath that built it. Here you will move those steps into a build pipeline and a container image, so every deployed artifact ships with a cac6 min read
12Chapter 12: Limitations and troubleshootingThis chapter assumes you can build and run an AOT cache with the record, create and run steps. It also assumes you know how to read -Xlog output and what a classpath is. Here you learn what the cache cannot do, how to find out why a cache was not used, and how to fix the usual causes.7 min read