RFR: 8290824: Use InputStream.readAllBytes() instead of explicit loops

Сергей Цыпанов duke at openjdk.org
Fri Jul 22 07:09:59 UTC 2022


On Thu, 21 Jul 2022 21:14:44 GMT, Mark Reinhold <mr at openjdk.org> wrote:

> Please revise the summary to say “... instead of explicit loops”.

Done.

> Please measure this (using, e.g., [JMH](https://github.com/openjdk/jmh)) before making such a change.

I'm aware of JMH, I was asking mostly about public API I should call in a benchmark to execute the changed code.

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

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


More information about the core-libs-dev mailing list