RFR: 8374170: I/O Poller updates
Martin Doerr
mdoerr at openjdk.org
Tue Feb 3 15:27:34 UTC 2026
On Tue, 13 Jan 2026 15:29:10 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> The I/O Poller used to support virtual threads doing blocking networking I/O has been significantly refactored in the loom repo. There are several improvements that should be brought to main line:
>
> 1. New poller mode that uses a read poller per carrier, this is beneficial in some workloads.
> 2. Better cleanup/recovery in the event if a file descriptor or memory can't be allocated during initializatio.
> 3. NativeThread changed to cache native thread ID and avoid JNI call to current0 for each blocking I/O op.
>
> Testing: tier1 + tier2.
The AIX build shows:
PollsetPoller.java:36: error: PollsetPoller is not abstract and does not override abstract method close() in Poller
class PollsetPoller extends Poller {
^
1 error
AIX build has passed. (Haven't run NIO tests, yet.)
-------------
PR Comment: https://git.openjdk.org/jdk/pull/29195#issuecomment-3837383754
PR Comment: https://git.openjdk.org/jdk/pull/29195#issuecomment-3841720995
More information about the net-dev
mailing list