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

Ioi Lam iklam at openjdk.org
Wed May 14 16:32:10 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:

  @dholmes-ora review - fixed typos

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/25136/files
  - new: https://git.openjdk.org/jdk/pull/25136/files/dddf591d..37d334a6

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

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