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

Aleksey Shipilev shade at openjdk.org
Wed Jan 29 11:04:54 UTC 2025


On Wed, 29 Jan 2025 05:36:37 GMT, Ioi Lam <iklam at openjdk.org> wrote:

>> 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

Still good.

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

Marked as reviewed by shade (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/23341#pullrequestreview-2580685822


More information about the hotspot-runtime-dev mailing list