RFR: 8316156: ByteArrayInputStream.transferTo causes MaxDirectMemorySize overflow [v6]

Brian Burkhalter bpb at openjdk.org
Tue Sep 19 20:03:57 UTC 2023


> In `ChannelInputStream` and `ChannelOutputStream`, process small chunks of bytes in sequence to avoid running afoul of the `MaxDirectMemorySize`.

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

  8316156: Revert BufferedInputStream changes; update test

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/15733/files
  - new: https://git.openjdk.org/jdk/pull/15733/files/7ee65b90..11cf9ffb

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

  Stats: 62 lines in 2 files changed: 8 ins; 48 del; 6 mod
  Patch: https://git.openjdk.org/jdk/pull/15733.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15733/head:pull/15733

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


More information about the nio-dev mailing list