RFR: 8211851: (ch) java/nio/channels/AsynchronousSocketChannel/StressLoopback.java times out (aix) [v2]

Andrey Turbanov aturbanov at openjdk.org
Tue Oct 15 19:16:13 UTC 2024


On Mon, 14 Oct 2024 10:03:55 GMT, Varada M <varadam at openjdk.org> wrote:

>> Intermittent timeout error of StressLoopBack.java is resolved with more straight forward method and similar implementation done for linux [EPollPort.java - L175](https://github.com/openjdk/jdk/blob/master/src/java.base/linux/classes/sun/nio/ch/EPollPort.java#L175) and macos [KQueuePort.java - L172](https://github.com/openjdk/jdk/blob/master/src/java.base/macosx/classes/sun/nio/ch/KQueuePort.java#L172)
>> 
>> Ran the test for 50 times and didn't observed any timeout error.
>> Tier 1 testing successful with fastdebug VM
>> 
>> JBS Issue : [JDK-8211851](https://bugs.openjdk.org/browse/JDK-8211851)
>
> Varada M has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8211851: (ch) java/nio/channels/AsynchronousSocketChannel/StressLoopback.java times out (aix)

src/java.base/aix/classes/sun/nio/ch/AixPollPort.java line 56:

> 54:     private final int pollset;
> 55: 
> 56:     private static final int ENOENT     = 2;

Suggestion:

    private static final int ENOENT = 2;

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21487#discussion_r1801783925


More information about the nio-dev mailing list