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

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

  @vnkozlov review -- print warning only if -XX:+AOTClassLinking is set in command-line

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

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

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

  Stats: 3 lines in 1 file changed: 1 ins; 0 del; 2 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