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

Brian Burkhalter bpb at openjdk.org
Wed Dec 10 00:31:25 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: Remove duplicative position update; add bug ID to test

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

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

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

  Stats: 2 lines in 2 files changed: 0 ins; 1 del; 1 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