RFR: 8364764: java/nio/channels/vthread/BlockingChannelOps.java subtests timed out
Jaikiran Pai
jpai at openjdk.org
Fri Aug 22 06:55:54 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 looks OK to me.
-------------
Marked as reviewed by jpai (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/26847#pullrequestreview-3143304062
More information about the nio-dev
mailing list