RFR: 8272297: FileInputStream should override transferTo() for better performance [v2]
Roman Kennke
rkennke at openjdk.java.net
Fri Aug 13 14:35:25 UTC 2021
On Thu, 12 Aug 2021 21:07:53 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
>> Please consider this request to add an override `java.io.FileInputStream.transferTo(OutputStream)` with improved performance if the parameter is a `FileOutputStream`.
>
> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
>
> 8272297: Set source position after FC.transferTo(); add test
Is this what you have been asking @mkarg in #4263 to do? Optimize transferTo() only for FileInputStream? Would it interfere with #4263?
-------------
PR: https://git.openjdk.java.net/jdk/pull/5097
More information about the core-libs-dev
mailing list