Integrated: 8376335: Convert PreservedMarks classes to use Atomic<T>
Thomas Schatzl
tschatzl at openjdk.org
Thu Jan 29 08:58:38 UTC 2026
On Mon, 26 Jan 2026 15:15:23 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:
> Hi all,
>
> please review this change to make the `PreservedMarks` classes use `Atomic<T>`.
>
> Some refactoring allowed removal of a now unnecessary function, and imo improved the code, avoiding the somewhat awkward passing of the atomic variable.
>
> Testing: gha, tier1-5
>
> Thanks,
> Thomas
This pull request has now been integrated.
Changeset: f9cc1042
Author: Thomas Schatzl <tschatzl at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/f9cc104249433eec179c98cb3fb44546254bf588
Stats: 28 lines in 2 files changed: 7 ins; 12 del; 9 mod
8376335: Convert PreservedMarks classes to use Atomic<T>
Reviewed-by: stefank, iwalulya
-------------
PR: https://git.openjdk.org/jdk/pull/29422
More information about the hotspot-gc-dev
mailing list