RFR: 8289572: InputStream wrapping with BufferedInputStream is redundant in HttpTimestamper
Сергей Цыпанов
duke at openjdk.org
Thu Jul 14 19:36:01 UTC 2022
On Thu, 14 Jul 2022 17:51:43 GMT, Sean Mullan <mullan at 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 is in security-libs code, so the JBS issue component should be "security-libs". The subcomponent should probably be "java.security". It should also have an appropriate noreg label, as there is no regression test.
@seanjmullan done
-------------
PR: https://git.openjdk.org/jdk/pull/9343
More information about the security-dev
mailing list