RFR: 8367366: Do not support -XX:+AOTClassLinking for dynamic CDS archive [v4]

Vladimir Kozlov kvn at openjdk.org
Wed Sep 17 14:55:27 UTC 2025


On Tue, 16 Sep 2025 19:48:02 GMT, Ioi Lam <iklam at openjdk.org> wrote:

>> Support of `-XX:+AOTClassLinking` for  dynamic CDS archive is not an documented feature of [JEP 483](https://openjdk.org/jeps/483). It has very small performance benefit and complicates the development of future AOT optimizations.
>> 
>> After this PR, `-XX:+AOTClassLinking` will have no effect when creating a dynamic CDS archive.
>
> Ioi Lam has updated the pull request incrementally with one additional commit since the last revision:
> 
>   @vnkozlov review -- print warning only if -XX:+AOTClassLinking is set in command-line

Good.

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

Marked as reviewed by kvn (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/27242#pullrequestreview-3234891614


More information about the hotspot-dev mailing list