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
15 lines
587 B
Plaintext
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);
|