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

Ioi Lam iklam at openjdk.org
Tue Sep 16 02:43: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:

  Added assert that AOTClassLinking should be be ergonomically set for dynamic dump

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

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

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

  Stats: 1 line in 1 file changed: 1 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