Files
javademos/java25-features/output/13-aot-cache.txt
T

16 lines
869 B
Plaintext

$ java -XX:AOTCacheOutput=app.aot -cp app.jar AotApp (25.0.5.1)
1334 items, first 1 | 666 items, first 3 bb
Temporary AOTConfiguration recorded: app.aot.config
Launching child process java to assemble AOT cache app.aot using configuration app.aot.config
Picked up JAVA_TOOL_OPTIONS: -Djava.class.path=app.jar -XX:AOTCacheOutput=app.aot -XX:AOTConfiguration=app.aot.config -XX:AOTMode=create
Reading AOTConfiguration app.aot.config and writing AOTCache app.aot
AOTCache creation is complete: app.aot N bytes
Removed temporary AOT configuration file app.aot.config
startup, 5 runs each, wall milliseconds (indicative, machine dependent):
run 1: plain 88 ms with -XX:AOTCache 59 ms
run 2: plain 85 ms with -XX:AOTCache 70 ms
run 3: plain 107 ms with -XX:AOTCache 56 ms
run 4: plain 113 ms with -XX:AOTCache 76 ms
run 5: plain 108 ms with -XX:AOTCache 65 ms