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

Ashutosh Mehra asmehra at openjdk.org
Mon Sep 15 13:53:35 UTC 2025


On Mon, 15 Sep 2025 04:13:32 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:
> 
>   @ashu-mehra comment -- print warning if -XX:+AOTClassLinking is enabled for dynamic dump

lgtm

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

Marked as reviewed by asmehra (Committer).

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


More information about the hotspot-dev mailing list