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

Y. Srinivas Ramakrishna ysr at openjdk.org
Wed Sep 24 23:39:08 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`.

LGTM; thanks for the clean up!

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

Marked as reviewed by ysr (Reviewer).

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


More information about the hotspot-gc-dev mailing list