# java -Djarmode=tools -jar app.jar extract --layers (the layer order Spring Boot's Dockerfile support uses) layer KB gzip KB files dependencies 22878 20490 47 spring-boot-loader 0 0 0 snapshot-dependencies 0 0 0 application 8 7 1 # the AOT cache from the training run (context-only), for scale refresh.aot 61016 15362 # change one line of application code (the unit price in OrderService, built by prepare.sh), extract again layer before after verdict dependencies 81a2cb4f9f5c 81a2cb4f9f5c identical: reused from cache/registry spring-boot-loader abcfa6a9d4df abcfa6a9d4df identical: reused from cache/registry snapshot-dependencies abcfa6a9d4df abcfa6a9d4df identical: reused from cache/registry application 4ecdea8230c6 19563974ba7b CHANGED: rebuilt and pushed AOT cache: trained against the previous jar, so it is stale for the new one (see output/04-mismatch.txt); it must be regenerated after the application layer