On Thu, 3 Sep 2026 09:46:24 GMT, Johan Sjölen <[email protected]> wrote:
> 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). Could you add a comment in `unsafe.cpp` to that the new behavior of `Unsafe_NewSpecialArray()` is required by the VarHandle code? ------------- Marked as reviewed by fparain (Reviewer). PR Review: https://git.openjdk.org/jdk/pull/32674#pullrequestreview-5240642611
