RFR: 6478546: FileInputStream.read() throws OutOfMemoryError when there is plenty available [v9]

Brian Burkhalter bpb at openjdk.org
Thu Oct 13 18:49:01 UTC 2022


On Fri, 26 Aug 2022 22:20:24 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.
>
> Brian Burkhalter has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 16 additional commits since the last revision:
> 
>  - 6478546: Revert use of temporary direct buffers; move parameter checks to Java layer
>  - Merge
>  - 6478546: Eliminate a subtraction from RandomAccessFile.bufferSize()
>  - Merge
>  - 6478546: Miscellaneous cleanup
>  - Merge
>  - Merge
>  - 6478546: Use dynamically sized temporary direct buffers
>  - Merge
>  - Merge
>  - ... and 6 more: https://git.openjdk.org/jdk/compare/8e9f1800...2532c0b3

Moving to draft.

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

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


More information about the core-libs-dev mailing list