Add java28-features module: the JDK 28 JEP list so far, one example per JEP on 28-ea+26, behaviour changes against JDK 27
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b7N4ZDbUtA3ofqAqRV
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
c0062ea398
commit
d4b8552957
@@ -0,0 +1,21 @@
|
||||
$ 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]
|
||||
Reference in New Issue
Block a user