CompareAndSet fails intermittently for riscv

Vladimir Kempik vladimir.kempik at gmail.com
Mon Aug 15 10:28:46 UTC 2022


Hello
Wanted to let you know I have observed some tests to fail on jdk19/20 with risc-v.
These tests fail on WeakCompareAndSet* methods.
https://bugs.openjdk.org/browse/JDK-8292360
Failures happen more often on slower hardware.
We might be missing some barrier in risc-v port.
Regards, Vladimir.


More information about the riscv-port-dev mailing list