Integrated: 8367366: Do not support -XX:+AOTClassLinking for dynamic CDS archive

Ioi Lam iklam at openjdk.org
Thu Sep 18 02:51:44 UTC 2025


On Fri, 12 Sep 2025 03:31: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.

This pull request has now been integrated.

Changeset: 91a97943
Author:    Ioi Lam <iklam at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/91a979430e2516b5853c397a336837799928f478
Stats:     109 lines in 15 files changed: 15 ins; 68 del; 26 mod

8367366: Do not support -XX:+AOTClassLinking for dynamic CDS archive

Reviewed-by: kvn, asmehra

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

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


More information about the hotspot-dev mailing list