[jdk11u-dev] RFR: 8292407: Improve Weak CAS VarHandle/Unsafe tests resilience under spurious failures

Aleksey Shipilev shade at openjdk.org
Fri Sep 1 09:12:42 UTC 2023


On Sat, 26 Aug 2023 02:52:38 GMT, Fei Yang <fyang at openjdk.org> wrote:

> Backport this test-only change in order to help "weak" and slow platforms to have stable results. Doing in advance of RISC-V port in https://github.com/openjdk/riscv-port-jdk11u where this helps to get stable test results.
> 
> Original patch does not apply cleanly as the dependent bug https://bugs.openjdk.org/browse/JDK-8218471 was only partially backported. So there are some conflicts in file test/hotspot/jtreg/compiler/unsafe/X-UnsafeAccessTest.java.template and the auto-generated tests from this template file.
> 
> Testing
> - [x] GHA (Updated tests are part of tier1)

Looks fine. 

Please run test regeneration scripts both in `compiler/unsafe` and `java/lang/invoke/VarHandle`, and see there are no changes after this commit?

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

Marked as reviewed by shade (Reviewer).

PR Review: https://git.openjdk.org/jdk11u-dev/pull/2099#pullrequestreview-1606573960


More information about the jdk-updates-dev mailing list