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

Xiaolin Zheng xlinzheng at openjdk.org
Thu Apr 27 05:35:24 UTC 2023


On Thu, 27 Apr 2023 04:57:02 GMT, Xiaolin Zheng <xlinzheng at openjdk.org> wrote:

> 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

May not be easy to get it reviewed:


In the mainline JDK repo to show the original commit:
git show e8bc87956abc92851de8694c56a78f6ecc546cbd > ~/1.diff

This patch:
git show b9123cf3cc > ~/2.diff

Diff the two diffs:
diff ~/1.diff ~/2.diff > diff.txt


[diff.txt](https://github.com/openjdk/jdk11u-dev/files/11339785/diff.txt)
Might be easier to look - the changeset is small and only the `head -n 150` of it matters.

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

PR Comment: https://git.openjdk.org/jdk11u-dev/pull/1853#issuecomment-1524718438


More information about the jdk-updates-dev mailing list