RFR: 8320971: Use BufferedInputStream.buf directly when param of implTransferTo() is trusted [v15]

Sergey Tsypanov stsypanov at openjdk.org
Thu Dec 14 08:47:03 UTC 2023


> It looks like we can skip copying of `byte[]` in `BufferedInputStream.implTransferTo()` for `OutputStreams` residing in `java.io`.
> 
> See comment by @vlsi in https://github.com/openjdk/jdk/pull/10525/files#diff-e19c508d1bb6ee78697ecca66947c395adda0d9c49a85bf696e677ecbd977af1R612

Sergey Tsypanov has updated the pull request incrementally with one additional commit since the last revision:

  8320971: Revert irrelevant changes

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/16879/files
  - new: https://git.openjdk.org/jdk/pull/16879/files/42147ce8..8626e926

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=16879&range=14
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=16879&range=13-14

  Stats: 84 lines in 3 files changed: 22 ins; 60 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/16879.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16879/head:pull/16879

PR: https://git.openjdk.org/jdk/pull/16879


More information about the core-libs-dev mailing list