RFR: 8271308: (fc) FileChannel.transferTo() transfers no more than Integer.MAX_VALUE bytes in one call [v3]

Brian Burkhalter bpb at openjdk.java.net
Tue Aug 3 16:29:57 UTC 2021


> Please consider this request to enhance `java.nio.channels.FileChannel.transferTo()` to be able to transfer more than `Integer.MAX_VALUE` bytes in one call.

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

  8271308: Add constant MAX_DIRECT_TRANSFER_SIZE initialized from one native call

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/4940/files
  - new: https://git.openjdk.java.net/jdk/pull/4940/files/86e2d65d..f9a6b265

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

  Stats: 5 lines in 1 file changed: 3 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/4940.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/4940/head:pull/4940

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


More information about the nio-dev mailing list