8226706: (se) Reduce the number of outer loop iterations on Windows in java/nio/channels/Selector/RacyDeregister.java

Alan Bateman Alan.Bateman at oracle.com
Thu Jun 27 11:22:56 UTC 2019


On 25/06/2019 00:03, Brian Burkhalter wrote:
> https://bugs.openjdk.java.net/browse/JDK-8226706
>
> The number of outer loop iterations of this test was increased, for 
> Windows only, by the patch that resolved [1]. A comment was also added 
> to the test reminding to reset the number of iterations back down to 
> its previous smaller value once [2] was resolved. Subsequently [2] was 
> resolved as irreproducible but the number of iterations in the test 
> was not in fact reduced. As the higher number of iterations might be 
> the reason for the failure in [3], it is proposed here to change the 
> number of outer loop resolutions from 150 on Windows back to 15, the 
> same as on the other platforms.
>
Looks okay although at some point I think this test should be 
re-implemented as has the potential to be starved on Windows and timeout.

-Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/nio-dev/attachments/20190627/db2d4d6f/attachment.html>


More information about the nio-dev mailing list