RFR: 8356998: Convert -Xlog:cds to -Xlog:aot (step 2) [v6]

Ioi Lam iklam at openjdk.org
Mon May 19 23:19:09 UTC 2025


> This is the second step that follows #25136. Most of the changes are mechanical.
> 
> - Compatible Logs are changed to `aot_log_xxx(aot, ...)`
> - All other logs are changed to `log_xxx(cds, ...)`
> 
> All `-Xlog:cds` logs are converted, except for `-Xlog:cds+dynamic`, because:
> 
> - Dynamic archive is supported only in the old CDS workflow. It's not supported in the new AOT workflow.
> - Changing it to `-Xlog:aot+dynamic` is inappropriate. Perhaps we should change it to `-Xlog:aot+cds+dynamc+archive`. However, that will affect a lot of test cases. We'll leave this for JDK 26.
> 
> 
> Additional changes:
> 
> - There are some changes in the test cases to match the new log output.
> - I also changed a few log messages when the distinction of "shared archive" vs "AOT cache" is significant.
> - Makefile change for `-Xlog:cds+map` -> `-Xlog:aot+map`

Ioi Lam has updated the pull request incrementally with one additional commit since the last revision:

  Fixed merge

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/25238/files
  - new: https://git.openjdk.org/jdk/pull/25238/files/326d4612..ce9009b8

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=25238&range=05
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=25238&range=04-05

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

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


More information about the hotspot-dev mailing list