RFR: 8268435: (ch) ChannelInputStream could override readAllBytes [v3]

Brian Burkhalter bpb at openjdk.java.net
Fri Sep 24 22:36:29 UTC 2021


> This change would override `readAllBytes()` and `readNBytes(int)` in `ChannelInputStream` thereby improving performance for all but smaller streams.

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

  8268435: Create a TestNG test based on the previous changes to Basic.java

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/5645/files
  - new: https://git.openjdk.java.net/jdk/pull/5645/files/ca188f03..4ad8e2ab

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=5645&range=02
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=5645&range=01-02

  Stats: 214 lines in 2 files changed: 155 ins; 43 del; 16 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5645.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5645/head:pull/5645

PR: https://git.openjdk.java.net/jdk/pull/5645


More information about the nio-dev mailing list