[lworld] RFR: 8353202: [lworld] TestArrays.java crashes with -XX:+UseNullableValueFlattening

Tobias Hartmann thartmann at openjdk.org
Fri Apr 4 08:50:12 UTC 2025


Nullable, atomic, flat arrays and fields of an empty value class should be treated as atomic by C2. Currently, C2 treats them as naturally atomic because they only have one field (the null marker).

Best regards,
Tobias

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

Commit messages:
 - 8353202: [lworld] TestArrays.java crashes with -XX:+UseNullableValueFlattening

Changes: https://git.openjdk.org/valhalla/pull/1418/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=1418&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8353202
  Stats: 62 lines in 5 files changed: 54 ins; 0 del; 8 mod
  Patch: https://git.openjdk.org/valhalla/pull/1418.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/1418/head:pull/1418

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


More information about the valhalla-dev mailing list