RFR: 8373208: Make Atomic class template constant initializable [v2]
David Holmes
dholmes at openjdk.org
Tue Dec 16 05:00:52 UTC 2025
On Mon, 15 Dec 2025 01:39:44 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:
>> Please review this change to Atomic to meet the requirements for constant
>> initialization in cases where the value type provides the requisite support.
>> This ensures that in such cases dynamic initialization won't even be
>> considered a possibility when initialized with constant arguments.
>>
>> Testing: mach5 tier1
>
> Kim Barrett has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:
>
> - Merge branch 'master' into constinit-atomic
> - constexpr Atomc ctors
> On the surface, this looks fine to me.
+1
-------------
Marked as reviewed by dholmes (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/28711#pullrequestreview-3581308505
More information about the hotspot-runtime-dev
mailing list