Files
spring-boot-demo/aot-cache/output/00-prepare.txt
T
Claude 3e2029ab3a Add aot-cache module: the JDK 25 AOT cache on Spring Boot 4.1 vs AppCDS, Spring AOT and GraalVM native
A Spring Boot 4.1.1 order service started 12 ways (plain and extracted jar, Spring AOT output, AppCDS, AOT cache trained with and without traffic, JDK 27, native image), ten interleaved rounds each, with first-request latency; 24 cache-mismatch cases; Docker layer arithmetic. Transcripts are in output/ (no docs/ folder).

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01TF9JWFvJSNm6HVzswzZU5a
2026-09-24 16:44:16 +00:00

15 lines
587 B
Plaintext

== build: plain jar (mvn package)
== build: jar with Spring AOT output (mvn -Pnative package; this does NOT compile a native image)
initializers in plain jar: 0
initializers in Spring AOT jar: 1
== extract both jars (java -Djarmode=tools -jar app.jar extract)
/home/claude/spring-boot-demo/aot-cache/work/ext:
app.jar
lib
/home/claude/spring-boot-demo/aot-cache/work/ext-springaot:
app.jar
lib
== build: the same service after a one-line change (the unit price in OrderService), for the mismatch and layer checks
edited: 20: BigDecimal unit = BigDecimal.valueOf(5_99, 2);