RFR: 6478546: FileInputStream.read() throws OutOfMemoryError when there is plenty available [v2]
Brian Burkhalter
bpb at openjdk.java.net
Thu Apr 28 20:02:36 UTC 2022
> 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 incrementally with one additional commit since the last revision:
6478546: Decrease malloc'ed buffer maximum size to 64 kB
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/8235/files
- new: https://git.openjdk.java.net/jdk/pull/8235/files/8bb1e14f..40d46f8f
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=8235&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=8235&range=00-01
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.java.net/jdk/pull/8235.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/8235/head:pull/8235
PR: https://git.openjdk.java.net/jdk/pull/8235
More information about the core-libs-dev
mailing list