On Sun, 18 Oct 2026 04:39:58 GMT, Albert Mingkun Yang <[email protected]> wrote:

> Replicating the same `isValueObject` check from weakCASAcq for acq/rel 
> variants of CAE and getAndSet, so that acq/rel ordering is respected.
> 
> Tested by inspecting the opto assembly of the affected APIs. Before, all four 
> show seq-cst; after, acquire shows `membar_acquire` and release 
> `membar_release`.
> 
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Looks reasonable, thanks. It took me a while to understand how these methods 
are used, and I think the symmetry against `weak` variants is a good guideline.

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

Marked as reviewed by shade (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/33423#pullrequestreview-5573297732

Reply via email to