RFR: 8361726: Shenandoah: More detailed evacuation instrumentation

William Kemper wkemper at openjdk.org
Wed Jul 23 20:51:54 UTC 2025


On Wed, 23 Jul 2025 01:30:19 GMT, Y. Srinivas Ramakrishna <ysr at openjdk.org> wrote:

>> Shenandoah has `product only` instrumentation to track evacuation performance. This change introduces more detail by categorizing each evacuation as young, old or promotion.
>
> src/hotspot/share/gc/shenandoah/shenandoahEvacTracker.cpp line 112:
> 
>> 110:   st->print("Young: "); _young.print_on(st);
>> 111:   st->print("Old: "); _old.print_on(st);
>> 112:   st->print("Promotion: "); _promotion.print_on(st);
> 
> Nit: I might switch the order of Promote & Old.

That makes sense.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26222#discussion_r2226659898


More information about the hotspot-gc-dev mailing list