RFR: 8304745: Lazily initialize byte[] in java.io.BufferedInputStream [v6]
Eirik Bjorsnos
duke at openjdk.org
Fri Mar 24 17:53:55 UTC 2023
On Fri, 24 Mar 2023 17:02:30 GMT, Sergey Tsypanov <stsypanov at openjdk.org> wrote:
>> By default `BufferedInputStream` is constructed with internal buffer with capacity 8192. In some cases this buffer is never used, e.g. when we call `IS.readNBytes()` or `IS.readAllBytes()` (relying on `BIS.read1()`) or when `BufferedInputStream` is cascaded.
>
> Sergey Tsypanov has updated the pull request incrementally with one additional commit since the last revision:
>
> 8304745: Amend copyright
Is something wrong with line endings in the added benchmark? jcheck seems to complain a lot?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/13150#issuecomment-1483192270
More information about the core-libs-dev
mailing list