Hi,

In this PR we enhance `newSpecialArray` to be able to return a nullable atomic 
flat when receiving a request for a nullable non-atomic flat, when such a 
layout is supported. This fixes the issue with `VarHandle` CAS failing as in 
the test added.

Testing, other than the added one: Tier 1-2

---------
- [X] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

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

Commit messages:
 - Merge branch 'master' into borked-cas
 - Add test
 - Fix borked CAS

Changes: https://git.openjdk.org/jdk/pull/32674/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=32674&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8391651
  Stats: 67 lines in 3 files changed: 64 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/32674.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/32674/head:pull/32674

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

Reply via email to