Integrated: 8371718: (sc) Channels.new{Input,Output}Stream can allocate unbounded memory for a socket channel

Brian Burkhalter bpb at openjdk.org
Wed Dec 10 22:49:12 UTC 2025


On Mon, 8 Dec 2025 19:10:42 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> Clamp read and write to 128k bytes.

This pull request has now been integrated.

Changeset: 74dca863
Author:    Brian Burkhalter <bpb at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/74dca863c2e61c13884c3454b8da7be125235970
Stats:     88 lines in 6 files changed: 72 ins; 5 del; 11 mod

8371718: (sc) Channels.new{Input,Output}Stream can allocate unbounded memory for a socket channel

Reviewed-by: alanb

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

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


More information about the nio-dev mailing list