[jdk17u] Integrated: 8267256: Extend minimal retry for loopback connections on Windows to PlainSocketImpl

Mat Carter duke at openjdk.java.net
Tue Oct 12 05:20:52 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

This pull request has now been integrated.

Changeset: df332ff6
Author:    Mat Carter <macarte at microsoft.com>
Committer: Christoph Langer <clanger at openjdk.org>
URL:       https://git.openjdk.java.net/jdk17u/commit/df332ff6e8bcee2cb5eeac1eefbc5c55a3fe8170
Stats:     13 lines in 1 file changed: 13 ins; 0 del; 0 mod

8267256: Extend minimal retry for loopback connections on Windows to PlainSocketImpl

Reviewed-by: clanger

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

PR: https://git.openjdk.java.net/jdk17u/pull/153


More information about the jdk-updates-dev mailing list