RFR: 8274112: (fc) Tune FileChannel.transferTo() [v7]
Lance Andersen
lancea at openjdk.java.net
Mon May 2 14:40:57 UTC 2022
On Fri, 29 Apr 2022 23:12:43 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
>> Please consider this patch which would improve the performance of
>> `FileChannel.transferTo()` on macOS and Windows.
>
> Brian Burkhalter has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains ten additional commits since the last revision:
>
> - 8274112: Cleanup based on reviewer comments
> - Merge
> - 8274112: Revert all changes except mapped transfer threshold
> - 8274112: Remove native read-write copy; add threshold for mapped copy; use Linux copy_file_range() for direct copy if available
> - Merge
> - 8274112: Make transferTo0() static; remove check for null FileDescriptor
> - 8274112: Modify transfer_read_write() not to throw if read or write fails
> - 8274112: Refactor to use transferToFileChannel()
> - 8274112: (fc) Tune FileChannel.transferTo()
Marked as reviewed by lancea (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/5623
More information about the nio-dev
mailing list