RFR: 8344263: GenShen: Reduce extraneous log messages at INFO level [v3]

Aleksey Shipilev shade at openjdk.org
Fri Nov 15 20:30:48 UTC 2024


On Fri, 15 Nov 2024 20:23:03 GMT, William Kemper <wkemper at openjdk.org> wrote:

>> Genshen logs a lot of fine level detail at `gc=info`. This category should be reserved for major phase changes in the gc cycle.
>
> William Kemper has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Make generation names proper case

src/hotspot/share/gc/shenandoah/shenandoahUtils.hpp line 50:

> 48:   switch (generation_type) {                                              \
> 49:     case NON_GEN:                                                         \
> 50:       return prefix " " postfix;                                          \

I think this causes a double space, for example here between "roots" and "(unload classes)" here:


[2.736s][info][gc] GC(42) Concurrent weak roots  (unload classes) 0.740ms

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

PR Review Comment: https://git.openjdk.org/shenandoah/pull/540#discussion_r1844424401


More information about the shenandoah-dev mailing list