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).

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

Commit messages:
 - unsafe-value-acqrel-cae

Changes: https://git.openjdk.org/jdk/pull/33423/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=33423&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8394802
  Stats: 24 lines in 1 file changed: 20 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/33423.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/33423/head:pull/33423

PR: https://git.openjdk.org/jdk/pull/33423

Reply via email to