[lworld] RFR: 8357156: [lworld] ValueClass.newNullRestrictedAtomicArray and newNullableAtomicArray do not respect FlatArrayElementMaxOops

Tobias Hartmann thartmann at openjdk.org
Tue May 20 09:31:20 UTC 2025


`ValueClass.newNullRestrictedAtomicArray` and `ValueClass.newNullableAtomicArray ` should respect `-XX:FlatArrayElementMaxOops` when deciding if an array should be flat or not.

Thanks,
Tobias

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

Commit messages:
 - Merge branch 'lworld' into JDK-8357156
 - Test

Changes: https://git.openjdk.org/valhalla/pull/1463/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=1463&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8357156
  Stats: 82 lines in 2 files changed: 79 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/valhalla/pull/1463.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/1463/head:pull/1463

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


More information about the valhalla-dev mailing list