Integrated: 8374170: I/O Poller updates

Alan Bateman alanb at openjdk.org
Mon Feb 9 21:39:07 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.
> 
> The changes have been in the loom repo for a long time, this is why the copyright header is updated to 2025 (not 2026) in some cases.
> 
> Testing: tier1 + tier2.

This pull request has now been integrated.

Changeset: cd5256d5
Author:    Alan Bateman <alanb at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/cd5256d5a654d436e5ef926f6afb1bcbfc7a8bd1
Stats:     1145 lines in 33 files changed: 672 ins; 140 del; 333 mod

8374170: I/O Poller updates

Reviewed-by: michaelm

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

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


More information about the net-dev mailing list