RFR: 8376335: Convert PreservedMarks classes to use Atomic<T>

Thomas Schatzl tschatzl at openjdk.org
Tue Jan 27 12:52:20 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

The GHA windows failures are very very strange and have nothing to do with this change.

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

PR Comment: https://git.openjdk.org/jdk/pull/29422#issuecomment-3805045910


More information about the hotspot-gc-dev mailing list