[jdk11u-dev] RFR: 8292443: Weak CAS VarHandle/Unsafe tests should test always-failing cases

Xiaolin Zheng xlinzheng at openjdk.org
Thu Apr 27 05:13:54 UTC 2023


Backporting JDK-8292443 as an RFE for testing. Please see the discussion thread in [JDK-8292443](https://bugs.openjdk.org/browse/JDK-8292443): changes related to [JDK-8207146](https://bugs.openjdk.org/browse/JDK-8207146) were dropped.

Most of code in this patch is generated by the fixed `generate-unsafe-access-tests.sh` after #1852.

I have verified this on x86_64 and AArch64 machines.

Thanks,
Xiaolin

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

Commit messages:
 - 8292443: Weak CAS VarHandle/Unsafe tests should test always-failing cases

Changes: https://git.openjdk.org/jdk11u-dev/pull/1853/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=1853&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8292443
  Stats: 2926 lines in 46 files changed: 2240 ins; 0 del; 686 mod
  Patch: https://git.openjdk.org/jdk11u-dev/pull/1853.diff
  Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/1853/head:pull/1853

PR: https://git.openjdk.org/jdk11u-dev/pull/1853


More information about the jdk-updates-dev mailing list