RFR: 8318809: java/util/concurrent/ConcurrentLinkedQueue/WhiteBox.java shows intermittent failures on linux ppc64le and aarch64
Viktor Klang
vklang at openjdk.org
Mon Dec 4 21:23:44 UTC 2023
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.
-------------
Commit messages:
- Deleting CLQ.Whitebox.addActionsOneNodeSlack as the CLQ implementation does not guarantee what the test tests.
Changes: https://git.openjdk.org/jdk/pull/16786/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16786&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8318809
Stats: 30 lines in 1 file changed: 0 ins; 30 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/16786.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/16786/head:pull/16786
PR: https://git.openjdk.org/jdk/pull/16786
More information about the core-libs-dev
mailing list