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

Stefan Karlsson stefank at openjdk.org
Wed Jan 28 12:27:53 UTC 2026


On Wed, 28 Jan 2026 11:50:29 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
>
> Thomas Schatzl has updated the pull request incrementally with two additional commits since the last revision:
> 
>  - * improve docs
>  - * stefank review

Marked as reviewed by stefank (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/29422#pullrequestreview-3716439969


More information about the hotspot-gc-dev mailing list