RFR: 8316156: (ch) Channels.newOutputStream(ch).write(bigByteArray) allocates a lot of direct memory [v2]
Brian Burkhalter
bpb at openjdk.org
Thu Sep 14 15:57:37 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: Address reviewer comments
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/15733/files
- new: https://git.openjdk.org/jdk/pull/15733/files/0e6d206f..a9af89cf
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=15733&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=15733&range=00-01
Stats: 143 lines in 5 files changed: 75 ins; 59 del; 9 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