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

Brian Burkhalter bpb at openjdk.org
Tue Dec 9 17:09:36 UTC 2025


> Clamp read and write to 128k bytes.

Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:

  8371718: Address reviewer comments v2

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/28705/files
  - new: https://git.openjdk.org/jdk/pull/28705/files/1e7aefd9..3f2983ad

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=28705&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=28705&range=02-03

  Stats: 46 lines in 5 files changed: 1 ins; 32 del; 13 mod
  Patch: https://git.openjdk.org/jdk/pull/28705.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28705/head:pull/28705

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


More information about the nio-dev mailing list