RFR: 8364650: G1: Use InvalidCSetIndex instead of UINT_MAX for "invalid" sentinel value of young_index_in_cset
Albert Mingkun Yang
ayang at openjdk.org
Wed Aug 6 12:19:09 UTC 2025
On Tue, 5 Aug 2025 21:56:43 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:
> Hi all,
>
> please review this small change to use `InvalidCSetIndex` instead of hardcoded `UINT_MAX` for `G1HeapRegion::_young_index_in_cset`. Just reuse the existing value that is already in use for `_index_in_opt_cset`.
>
> Testing: compilation, gha
>
> Thanks,
> Thomas
Marked as reviewed by ayang (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/26651#pullrequestreview-3092264030
More information about the hotspot-gc-dev
mailing list