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

Alan Bateman alanb at openjdk.org
Mon Oct 14 07:22:14 UTC 2024


On Mon, 14 Oct 2024 07:08:36 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)

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

> 226:     @Override
> 227:     void startPoll(int fd, int events) {
> 228:         // update events (or add to epoll on first usage)

I assume you didn't mean to say "epoll" in this comment.

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

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


More information about the nio-dev mailing list