RFR: JDK-8144144 - ORB destroy() leaks filedescriptors after unsuccessful connection
sean.coffey at oracle.com
Mon Jan 11 08:58:29 UTC 2016
Looks good to me Mark. Chris's point will help clean up the new
Is this close operation applicable only to the inboundConnectionCaches ?
I guess that one creates the ServerSocket for the acceptor. Does any
such socket get created/left behind for the outboundConnectionCaches ?
On 11/01/2016 06:32, Chris Hegarty wrote:
> On 8 Jan 2016, at 17:49, Mark Sheppard <mark.sheppard at oracle.com> wrote:
>> please oblige and review the following changes
> In SelectorImpl.clearDeferredRegistrations() there is no need to call close()
> on the Socket returned from channel.socket(), since you have already
> closed the channel.
>> which addresses the issue
>> the changes ensure that an Acceptor and its associated ServerSocket/ServerSocketChannel
>> are closed.
More information about the core-libs-dev