RFR: 8318809: java/util/concurrent/ConcurrentLinkedQueue/WhiteBox.java shows intermittent failures on linux ppc64le and aarch64

Andrew Haley aph at openjdk.org
Tue Dec 5 09:11:46 UTC 2023


On Wed, 22 Nov 2023 20:48:05 GMT, Viktor Klang <vklang at openjdk.org> wrote:

> We've seen some rare failures of the CLQ Whitebox test on "less-strong" architectures, and the only thing which -- given my research -- could be the culprit is spuriously failing weakCAS (which is correct in terms of the implementation of CLQ).
> 
> After discussion with @DougLea, it was decided as the CLQ implementation does not guarantee what the failing test tests, and modifying the test would mean that it would generally not be able to enforce anything, the test is invalid and should be removed -- hence this PR.

Few AArch64 HotSpot systems implement weak CAS as anything other than plain CAS. In order to get to the root cause of this problem, it would help to know on which AArch64 hardware this test failed.

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

PR Comment: https://git.openjdk.org/jdk/pull/16786#issuecomment-1840319541


More information about the core-libs-dev mailing list