Integrated: 8364764: java/nio/channels/vthread/BlockingChannelOps.java subtests timed out

Alan Bateman alanb at openjdk.org
Fri Aug 22 08:19:56 UTC 2025


On Tue, 19 Aug 2025 17:58:12 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> 4 tests (testSocketChannelWriteAsyncClose, testSocketChannelWriteInterrupt, testPipeWriteAsyncClose testPipeWriteInterrupt) test async close/interrupt when a virtual thread is blocked in write. This is difficult to test as the target thread may wakeup with bytes written (so it returns the number of bytes written rather than throw).  The test is changed to "nudge" the writer a few times so that the writer eventually wakes up with no bytes written.
> 
> Additionally, two tests are added to test async shutdownInput and shutdownOutput.

This pull request has now been integrated.

Changeset: f0498c2a
Author:    Alan Bateman <alanb at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/f0498c2aed761d4023917bc9cd1f852a02ce977a
Stats:     111 lines in 1 file changed: 80 ins; 2 del; 29 mod

8364764: java/nio/channels/vthread/BlockingChannelOps.java subtests timed out

Reviewed-by: jpai

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

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


More information about the nio-dev mailing list