C2’s Unsafe.get/putFlatValue intrinsic asserts because it does not expect the 
layout `LayoutKind::NULLABLE_NON_ATOMIC_FLAT` added by 
[JDK-8374800](https://bugs.openjdk.org/browse/JDK-8374800). I just fixed the 
assert because the implementation already handles the layout correctly.

Thanks,
Tobias

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

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

Commit messages:
 - Simplified test
 - JDK-8386499

Changes: https://git.openjdk.org/valhalla/pull/2619/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=2619&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8386499
  Stats: 74 lines in 2 files changed: 72 ins; 1 del; 1 mod
  Patch: https://git.openjdk.org/valhalla/pull/2619.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2619/head:pull/2619

PR: https://git.openjdk.org/valhalla/pull/2619

Reply via email to