RFR: 8320971: Use BufferedInputStream.buf directly when param of implTransferTo() is trusted
Brian Burkhalter
bpb at openjdk.org
Thu Nov 30 00:11:05 UTC 2023
On Wed, 29 Nov 2023 11:57:37 GMT, Sergey Tsypanov <stsypanov at openjdk.org> wrote:
> 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
If there is already test coverage of this area (I don't think there is), then the `noreg-other` label with a comment should be added to the issue. Otherwise, test coverage should be added, or some other `noreg-*` label added to the issue, if justified.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/16879#issuecomment-1832894268
More information about the core-libs-dev
mailing list