RFR: 8375643: G1: Convert G1RegionMarkStatsCache to use Atomic<T> [v2]

Aleksey Shipilev shade at openjdk.org
Tue Jan 20 13:14:12 UTC 2026


On Tue, 20 Jan 2026 11:58:24 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

>> Hi all,
>> 
>>   please review this change to make `G1RegionMarkStatsCache` use `Atomic<T>`.
>> 
>> The only unusual part is that I added two getters to that class to avoid the repeated `.load_relaxed()` typing.
>> 
>> Testing: gha
>> 
>> Thanks,
>>   Thomas
>
> Thomas Schatzl has updated the pull request incrementally with one additional commit since the last revision:
> 
>   * shade review

Marked as reviewed by shade (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/29303#pullrequestreview-3682115798


More information about the hotspot-gc-dev mailing list