Integrated: 8356595: Convert -Xlog:cds to -Xlog:aot (step1)

Ioi Lam iklam at openjdk.org
Tue May 20 03:47:01 UTC 2025


On Fri, 9 May 2025 03:53:54 GMT, Ioi Lam <iklam at openjdk.org> wrote:

> 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. The rest of the logs are converted in https://github.com/openjdk/jdk/pull/25238. Both PRs will be integrated at the same time after review.
> 
> Please see **aotLogging.hpp** for how the macros work.

This pull request has now been integrated.

Changeset: 7077535c
Author:    Ioi Lam <iklam at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/7077535c0b0a6ea0a2a167f9135b1504a3d71fb3
Stats:     719 lines in 49 files changed: 315 ins; 9 del; 395 mod

8356595: Convert -Xlog:cds to -Xlog:aot (step1)

Reviewed-by: ccheung, dholmes, jsjolen, matsaave

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

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


More information about the hotspot-dev mailing list