CompareAndSet fails intermittently for riscv
Aleksey Shipilev
shade at redhat.com
Wed Aug 24 18:21:54 UTC 2022
On 8/17/22 04:11, yangfei at iscas.ac.cn wrote:
> I suspect another jtreg test: test/jdk/java/util/concurrent/atomic/Serial.java also have the same issue.
> I once reduced this test into [1] and it looks that this will always fail on my unmatched board.
> But it passes if we disable the intrinsic like:
> $ java -XX:+UnlockDiagnosticVMOptions -XX:DisableIntrinsic=_weakCompareAndSetLongRelease Serial
Whoa, I missed this. This is actually the test bug that manifests on single-threaded RISC-V :P
https://mail.openjdk.org/pipermail/riscv-port-dev/2022-August/000594.html
--
Thanks,
-Aleksey
More information about the riscv-port-dev
mailing list