[lworld] RFR: 8360656: [lworld] UnsafeTest.java fails with -XX:ForceNonTearable=*

Frederic Parain fparain at openjdk.org
Thu Sep 25 13:24:44 UTC 2025


Some tests expect specific layouts and fail when an additional option is passed to the VM and changes those layouts.
Adding a flagless requirement to these tests to prevent such failures from happening.

Tested of Mach5 tiers 1 to 3 with the -XX:ForceNonTearable=* VM flag.

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

Commit messages:
 - Add flagless requirement to tests expecting specific layouts

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

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


More information about the valhalla-dev mailing list