RFR (M) 8155739: [TESTBUG] VarHandles/Unsafe tests for weakCAS should allow spurious failures
Aleksey Shipilev
aleksey.shipilev at oracle.com
Fri Apr 29 22:12:29 UTC 2016
Hi,
I would like to fix a simple testbug in our weakCompareAndSet VarHandles
and Unsafe intrinsics tests. weakCompareAndSet is spec-ed to allow
spurious failures, but current tests do not allow that. This blocks
development and testing on non-x86 platforms.
Bug:
https://bugs.openjdk.java.net/browse/JDK-8155739
Webrevs:
http://cr.openjdk.java.net/~shade/8155739/webrev.hs.00/
http://cr.openjdk.java.net/~shade/8155739/webrev.jdk.00/
The tests are auto-generated, and the substantiative changes are in
*.template files. I also removed obsolete generate-unsafe-tests.sh. I
would like to push through hs-comp to expose this to Power and AArch64
folks early.
Testing: x86_64, jdk:java/lang/invoke/VarHandle, hotspot:compiler/unsafe
Thanks,
-Aleksey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20160430/4ee51827/signature.asc>
More information about the hotspot-compiler-dev
mailing list