RFR: 8295792: Clean up old async close code

Alan Bateman alanb at openjdk.org
Fri Oct 21 16:06:49 UTC 2022


On Fri, 21 Oct 2022 14:28:02 GMT, Daniel Jeliński <djelinski at openjdk.org> wrote:

> Please review this PR that removes the remains of old fdTable-based socket close synchronization.
> 
> Verified that tier1-3 tests continue to pass on Linux, MacOS and Windows. Did not verify AIX.
> 
> Also removed one slow test for an issue in fdtable implementation; as far as I could tell, it is no longer relevant.

src/java.base/unix/native/libnet/net_util_md.c line 703:

> 701: 
> 702:         errno = 0;
> 703:         read_rv = poll(&pfd, 1, nanoTimeout / NET_NSEC_PER_MSEC);

I suspect this one will need to handle EINTR like the original code.

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

PR: https://git.openjdk.org/jdk/pull/10816



More information about the build-dev mailing list