On Fri, 26 Feb 2021 14:25:09 GMT, Maurizio Cimadamore <mcimadam...@openjdk.org> 
wrote:

> This simple fix reduces the amount of concurrency on the foreign memory 
> TestHandshake test. As this test spins a new accessor thread for each 
> available processors, on machines which feature an high number of available 
> processors (because of multi-threading), and which are slower in forking new 
> threads (e.g. Windows), the test can sometimes timeout.
> 
> The sensible step, for now, is to introduce an hard limit on the number of 
> concurrent accessor threads being created. I've looked at the test logs quite 
> in depth, and there's nothing suggesting that something else is amiss - the 
> number of concurrent threads just seem to be too high in some instances.

This pull request has now been integrated.

Changeset: 5de0f4b2
Author:    Maurizio Cimadamore <mcimadam...@openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/5de0f4b2
Stats:     3 lines in 1 file changed: 2 ins; 0 del; 1 mod

8260869: Test java/foreign/TestHandshake.java fails intermittently

Reviewed-by: psandoz

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

PR: https://git.openjdk.java.net/jdk/pull/2748

Reply via email to