RFR: 6478546: FileInputStream.read() throws OutOfMemoryError when there is plenty available
Daniel Jeliński
djelinski at openjdk.java.net
Thu Apr 14 06:01:15 UTC 2022
On Thu, 14 Apr 2022 01:40:50 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
> Modify native multi-byte read-write code used by the `java.io` classes to limit the size of the allocated native buffer thereby decreasing off-heap memory footprint and increasing throughput.
The benchmark results are quite unexpected. Would we benefit from reducing the buffer size even further?
-------------
PR: https://git.openjdk.java.net/jdk/pull/8235
More information about the core-libs-dev
mailing list