RFR: 8356595: Convert -Xlog:cds to -Xlog:aot [v3]

Ioi Lam iklam at openjdk.org
Fri May 9 17:45:08 UTC 2025


> This is an alternative (and opposite) approach to https://github.com/openjdk/jdk/pull/24895. We basically convert most `[cds]` logs to `[aot]` logs. However, for the few logs that might be needed by existing user scripts, we use macros like `aot_log_info`, `aot_log_debug` so that they can be selected/printed using the `[cds]` tag. 
> 
> We have a few hundred logs that start with `[cds]`. To aid reviewing, this PR will convert only part of them. I will create a second PR that coverts the rest of the logs.
> 
> Please see **aotLogging.hpp** for how the macros work.

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

  More conversion; clean up; bug fixes

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/25136/files
  - new: https://git.openjdk.org/jdk/pull/25136/files/dbab9a7e..e2156fbe

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

  Stats: 73 lines in 11 files changed: 16 ins; 25 del; 32 mod
  Patch: https://git.openjdk.org/jdk/pull/25136.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25136/head:pull/25136

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


More information about the serviceability-dev mailing list