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). This pull request has now been integrated. Changeset: a68782da Author: Albert Mingkun Yang <[email protected]> URL: https://git.openjdk.org/jdk/commit/a68782da23b9e14e390587c10898c5dd46d45117 Stats: 24 lines in 1 file changed: 20 ins; 0 del; 4 mod 8394802: Unsafe reference Acquire/Release ops don't use acquire/release intrinsics Reviewed-by: shade ------------- PR: https://git.openjdk.org/jdk/pull/33423
