JDK 9 RFR of JDK-8068693: (ch) test java/nio/channels/AsyncCloseAndInterrupt.java failing
Hamlin Li
huaming.li at oracle.com
Tue Mar 8 07:39:55 UTC 2016
Hi Brian,
Would you please help to review the patch?
Thank you
-Hamlin
On 2016/3/4 18:36, Hamlin Li wrote:
> Please review the patch for test
> java/nio/channels/AsyncCloseAndInterrupt.java
>
> It's a test issue. The issue can be reproduced locally within 50
> rounds of run.
> Root cause: even if server's connection backlog seems to be saturated
> sometime, subsequent connections may still success.
> Suggested Fix: Pass in parameter backlog as 1 when ServerSocket calls
> bind to make the socket server's backlog queue as short as possible.
> In pumpRefuser, try to connect to refuser server as quick as possible.
> The fix run successfully for 300 rounds of run locally, pass JPRT test.
>
> bug: https://bugs.openjdk.java.net/browse/JDK-8068693
> webrev: http://cr.openjdk.java.net/~mli/8068693/webrev.00/
>
> Thank you
> -Hamlin
More information about the nio-dev
mailing list