Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b7N4ZDbUtA3ofqAqRV
22 lines
1.1 KiB
Plaintext
22 lines
1.1 KiB
Plaintext
$ java -XX:AOTCacheOutput=app.aot -cp app.jar AotApp
|
|
checksum 183000
|
|
Temporary AOTConfiguration recorded: app.aot.config
|
|
Reading AOTConfiguration app.aot.config and writing AOTCache app.aot
|
|
AOTCache creation is complete: app.aot 12713984 bytes
|
|
Removed temporary AOT configuration file app.aot.config
|
|
$ java -XX:AOTMode=required -XX:AOTCache=app.aot -XX:+PrintCompilation -cp app.jar AotApp
|
|
lines with the A (AOT code) flag: 173
|
|
22 168 A 2 java.lang.Byte::toUnsignedInt (6 bytes)
|
|
22 170 A 2 java.lang.Math::floorMod (20 bytes)
|
|
22 171 A 2 java.util.ImmutableCollections$SetN::probe (56 bytes)
|
|
22 172 A 2 jdk.internal.util.ArraysSupport::vectorizedHashCode (158 bytes)
|
|
22 173 A 2 jdk.internal.util.ArraysSupport::hashCodeOfUnsigned (55 bytes)
|
|
|
|
$ same run with -XX:+UnlockDiagnosticVMOptions -XX:-AOTCodeCaching
|
|
lines with the A (AOT code) flag: 0
|
|
|
|
wall-clock milliseconds for the whole process, 15 interleaved runs each, median [min-max]
|
|
no AOT cache 447 [322-634]
|
|
AOT cache, AOT code disabled 343 [245-1049]
|
|
AOT cache with AOT code 186 [142-417]
|