RFR: 8274112: (fc) Tune FileChannel.transferTo()

Brian Burkhalter bpb at openjdk.java.net
Wed Sep 22 16:40:52 UTC 2021


On Wed, 22 Sep 2021 01:25:37 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> Please consider this patch which would improve the performance of
> `FileChannel.transferTo()` on macOS and Windows.

I had considered adding a fourth path, `transferToFileChannel()`, which would be after the direct but before the trusted path. This would I think dispense with the `UNSUPPORTED_SUBCASE`.

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

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


More information about the nio-dev mailing list