RFR: 8373295: Wrong log tag for UseCompressedOops ergo setting

David Holmes dholmes at openjdk.org
Tue Dec 9 06:45:54 UTC 2025


On Tue, 9 Dec 2025 04:35:19 GMT, Ioi Lam <iklam at openjdk.org> wrote:

> Please review this trivial change: Ergonomic settings of `UseCompressedOops` should be logged with `log_debug(gc, heap, coops)`
> 
> 
> Note: this is the same log channel used just a few lines above.
> 
> https://github.com/openjdk/jdk/blob/c9ab330b7bdd3cc2410ffdb336a63aa0ac7256a3/src/hotspot/share/runtime/arguments.cpp#L1579-L1586

The CDS logging line was put in for JDK-8226462, and as referenced by Yasumasa it was there for CDS users to be informed (or perhaps more accurately for one of our CDS tests to check it). Does that test no longer exist, or check this condition?

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

PR Comment: https://git.openjdk.org/jdk/pull/28716#issuecomment-3630609392


More information about the hotspot-runtime-dev mailing list