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

Brian Burkhalter bpb at openjdk.org
Tue Dec 9 19:11:31 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: Make test cleaner

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/28705/files
  - new: https://git.openjdk.org/jdk/pull/28705/files/956d64b2..6f2e8568

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

  Stats: 46 lines in 1 file changed: 4 ins; 18 del; 24 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