RFR(XXS): 8182307 - Error during JRMP connection establishment
Alan.Bateman at oracle.com
Fri Dec 8 09:28:01 UTC 2017
On 07/12/2017 16:55, Daniel D. Daugherty wrote:
>> I have a small fix for a very intermittent ServerSocket related test
>> JDK-8182307: Error during JRMP connection establishment
>> For the gory details of the reasons for this fix please see
>> Jerry's bugs.
>> Webrev URL: http://cr.openjdk.java.net/~dcubed/8182307-webrev/jdk10-0/
It's not clear to me how this change solves the issue. It's a "read
timeout" so this means the connection has been established. The client
will not care if the server has enabled SO_REUSEADDR or whether it
initially bound to a fixed or ephemeral port.
Is this issue Solaris only? I ask because there is an awkward issue on
Solaris where the kernel will accept a pending connection when the
process is at its file descriptor limit. We've seen this periodically,
esp. with tests that leave connections or files open. An unsuspecting
tests runs later, establishes a connection but gets timeouts as there
isn't no code at the application level has accepted the connection.
More information about the hotspot-runtime-dev