RFR: 8278268 - (ch) InputStream returned by Channels.newInputStream should have fast path for FileChannel targets [v16]

Markus KARG duke at openjdk.java.net
Sat Dec 25 16:10:37 UTC 2021


> This sub-issue defines the work to be done to implement JDK-8265891 solely for the particular case of FileChannel.transferFrom(ReadableByteChannel), including special treatment of SelectableByteChannel.

Markus KARG has updated the pull request incrementally with three additional commits since the last revision:

 - separate test class for each large file test
 - Base class only contains utilities and helpers
 - Renamed AbstractTransferTo to TransferToBase as it is not abstract

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/6711/files
  - new: https://git.openjdk.java.net/jdk/pull/6711/files/9ae35561..c79fc0b1

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=6711&range=15
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=6711&range=14-15

  Stats: 725 lines in 6 files changed: 402 ins; 263 del; 60 mod
  Patch: https://git.openjdk.java.net/jdk/pull/6711.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/6711/head:pull/6711

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


More information about the nio-dev mailing list