RFR: 6478546: FileInputStream.read() throws OutOfMemoryError when there is plenty available
Brian Burkhalter
bpb at openjdk.java.net
Tue Apr 19 21:47:33 UTC 2022
On Thu, 14 Apr 2022 05:57:54 GMT, Daniel Jeliński <djelinski at openjdk.org> wrote:
> The benchmark results are quite unexpected. Would we benefit from reducing the buffer size even further?
I tested with smaller and smaller buffer sizes until the performance started to be affected which was about 64 KB. I have not changed this value in the patch just yet.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8235
More information about the core-libs-dev
mailing list