RFR: 8375983: G1: Convert G1ConcurrentRefineStats to use Atomic<T> [v3]

Thomas Schatzl tschatzl at openjdk.org
Thu Jan 22 14:38:50 UTC 2026


> 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

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/29347/files
  - new: https://git.openjdk.org/jdk/pull/29347/files/8b6d3106..b95d14c9

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=29347&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=29347&range=01-02

  Stats: 118 lines in 1 file changed: 118 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/29347.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/29347/head:pull/29347

PR: https://git.openjdk.org/jdk/pull/29347


More information about the hotspot-gc-dev mailing list