[jdk17u] RFR: 8267256: Extend minimal retry for loopback connections on Windows to PlainSocketImpl
Christoph Langer
clanger at openjdk.java.net
Tue Oct 12 05:20:51 UTC 2021
On Tue, 5 Oct 2021 22:06:30 GMT, Mat Carter <duke at openjdk.java.net> wrote:
> Building upon [JDK-8250521](https://bugs.openjdk.java.net/browse/JDK-8250521) which only added support for NIOSocketImpl (default), add support to PlainSocketImpl which can be selected as the implementation.
>
> This is required for the backport to 11u where NIOSocketImpl doesn't exist and PlainSocketImpl is the default implementation
>
> To test on windows run with -Djdk.net.usePlainSocketImpl
>
> Before fix loopback timeouts:
>
> - NioSocketImpl ~200ms
> - PlainSocketImpl ~22200ms
>
> After fix loopback timeouts:
>
> - NioSocketImpl ~200ms
> - PlainSocketImpl ~200ms
Got the approval.
-------------
PR: https://git.openjdk.java.net/jdk17u/pull/153
More information about the jdk-updates-dev
mailing list