RFR: 8375983: G1: Convert G1ConcurrentRefineStats to use Atomic<T> [v3]
Kim Barrett
kbarrett at openjdk.org
Thu Jan 22 18:30:45 UTC 2026
On Thu, 22 Jan 2026 14:38:50 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:
>> Hi all,
>>
>> please review this change that converts `G1ConcurrentRefineStats` to use `Atomic<T>`.
>>
>> The only notable thing is that there has been need to expand the assignment in `reset()` since the assignment operator for `Atomic<T>` is not defined, and I did not see it worth adding one.
>>
>> Testing: gha
>>
>> Thanks,
>> Thomas
>
> Thomas Schatzl has updated the pull request incrementally with one additional commit since the last revision:
>
> * add .inline.hpp file
Looks good.
-------------
Marked as reviewed by kbarrett (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/29347#pullrequestreview-3693921851
More information about the hotspot-gc-dev
mailing list