On Fri, 1 Jul 2022 08:06:10 GMT, Сергей Цыпанов <d...@openjdk.org> wrote:

> In case we read all bytes from an `InputStream` we don't need wrapping with 
> `BufferedInputStream` as the bytes are not written into internal buffer. With 
> removal of redundant buffer we save 8 kB of allocated memory.

This pull request has now been integrated.

Changeset: 75c1e999
Author:    Sergey Tsypanov <sergei.tsypa...@yandex.ru>
Committer: Jaikiran Pai <j...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/75c1e99968da1ee2f33a8c3a70070832fb403104
Stats:     6 lines in 1 file changed: 2 ins; 1 del; 3 mod

8289572: InputStream wrapping with BufferedInputStream is redundant in 
HttpTimestamper

Reviewed-by: jpai, mullan

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

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

Reply via email to