RFR: 8348752: Enable -XX:+AOTClassLinking by default when -XX:AOTMode is specified [v2]

Ioi Lam iklam at openjdk.org
Wed Jan 29 05:36:37 UTC 2025


> According to the CSR [JDK-8339506](https://bugs.openjdk.org/browse/JDK-8339506) (for https://openjdk.org/jeps/483)
> 
>> When an AOT cache is created with the new -XX:AOTMode=create flag, we assume that the application is aware of AOT class linking and does not depend of the class loading order. In this case, AOTClassLinking has a default value of true. The user can disable it by explicitly passing -XX:-AOTClassLinking in the JVM command line.

Ioi Lam has updated the pull request incrementally with one additional commit since the last revision:

  @katyapav offline comments - added test case

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/23341/files
  - new: https://git.openjdk.org/jdk/pull/23341/files/c8e9916e..e7cadc5b

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=23341&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=23341&range=00-01

  Stats: 28 lines in 1 file changed: 25 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/23341.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23341/head:pull/23341

PR: https://git.openjdk.org/jdk/pull/23341


More information about the hotspot-runtime-dev mailing list