RFR: 8272297: FileInputStream should override transferTo() for better performance [v2]

Alan Bateman alanb at openjdk.java.net
Fri Aug 13 14:44:24 UTC 2021


On Fri, 13 Aug 2021 14:32:41 GMT, Roman Kennke <rkennke at openjdk.org> wrote:

> Is this what you have been asking @mkarg in #4263 to do? Optimize transferTo() only for FileInputStream? Would it interfere with #4263?

#4263 is the input stream returned by Channels.newInputStream where the source may be a FileChannel and the output stream specified to InputStream::transferTo may be connected to a FileChannel.

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

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


More information about the core-libs-dev mailing list