On Tue, 16 Aug 2022 08:23:11 GMT, Aleksey Shipilev <sh...@openjdk.org> wrote:

> We have a few reports that existing Weak* VarHandle tests are still flaky, 
> for example on large AArch64 machines or small RISC-V machines.
> 
> The flakiness is intrinsic to the nature of Weak* operations under tests, 
> that can spuriously fail. The last attempt to fix these was 
> [JDK-8155739](https://bugs.openjdk.org/browse/JDK-8155739). We need to 
> strengthen these a bit more.
> 
> The actual values depend on the successful testing on known-failing 
> platforms. I ballparked bumping the attempts 5x and introducing the delay 
> would help without exploding test time in worst cases.

This pull request has now been integrated.

Changeset: 6e6202c1
Author:    Aleksey Shipilev <sh...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/6e6202c14d0f6dd26369f21883ff317057aa469f
Stats:     951 lines in 45 files changed: 800 ins; 0 del; 151 mod

8292407: Improve Weak CAS VarHandle/Unsafe tests resilience under spurious 
failures

Reviewed-by: yadongwang, fyang, vkempik, psandoz

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

PR: https://git.openjdk.org/jdk/pull/9889

Reply via email to