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

Ioi Lam iklam at openjdk.org
Mon Sep 15 04:13:32 UTC 2025


> 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

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/27242/files
  - new: https://git.openjdk.org/jdk/pull/27242/files/597718c6..e94f0503

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

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

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


More information about the hotspot-dev mailing list