RFR: 8368499: GenShen: Do not collect age census during evac when adaptive tenuring is disabled

Kelvin Nilsen kdnilsen at openjdk.org
Wed Sep 24 23:08:07 UTC 2025


On Wed, 24 Sep 2025 22:53:28 GMT, William Kemper <wkemper at openjdk.org> wrote:

> This is a simplification to `ShenandoahEvacTracker` (which is a diagnostic feature). The ability to compute the age census during evacuation was still in the code, even though the (experimental) option to enable it was removed. Removing the rest of the code allows us to take an additional flag-check off the evacuation path and to consolidate duplicated gc stat processing code between `shControlThread` and `shGenerationalControlThread`.

Thanks for these improvements.

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

Marked as reviewed by kdnilsen (Committer).

PR Review: https://git.openjdk.org/jdk/pull/27479#pullrequestreview-3264977489


More information about the hotspot-gc-dev mailing list