RFR: 8304745: Lazily initialize byte[] in java.io.BufferedInputStream [v9]
Alan Bateman
alanb at openjdk.org
Wed Apr 5 07:12:13 UTC 2023
On Mon, 27 Mar 2023 16:18:22 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: Add comments for benchmark
So I think the main thing now is to decide whether the benchmark should be included or not.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/13150#issuecomment-1497021299
More information about the core-libs-dev
mailing list