RFR: 8373208: Make Atomic class template constant initializable

Stefan Karlsson stefank at openjdk.org
Wed Dec 10 07:23:23 UTC 2025


On Tue, 9 Dec 2025 00:01:11 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

On the surface, this looks fine to me.

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

Marked as reviewed by stefank (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/28711#pullrequestreview-3561103973


More information about the hotspot-runtime-dev mailing list