Integrated: 8375983: G1: Convert G1ConcurrentRefineStats to use Atomic<T>

Thomas Schatzl tschatzl at openjdk.org
Mon Jan 26 09:20:11 UTC 2026


On Wed, 21 Jan 2026 13:22:07 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

This pull request has now been integrated.

Changeset: c3360ff5
Author:    Thomas Schatzl <tschatzl at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/c3360ff51155bdd62b758c163351f57f4b410606
Stats:     181 lines in 10 files changed: 130 ins; 4 del; 47 mod

8375983: G1: Convert G1ConcurrentRefineStats to use Atomic<T>

Reviewed-by: kbarrett, iwalulya

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

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


More information about the hotspot-gc-dev mailing list