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

2022-08-03 Thread Brian Burkhalter
On Wed, 3 Aug 2022 15:42:12 GMT, Brian Burkhalter wrote: >> src/java.base/share/classes/java/io/RandomAccessFile.java line 112: >> >>> 110: } >>> 111: >>> 112: int multiple = (len + MIN_BUFFER_SIZE - 1)/MIN_BUFFER_SIZE; >> >> isn't that equivalent `(len / MIN_BUFFER_SIZE) +

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

2022-08-03 Thread Brian Burkhalter
On Wed, 3 Aug 2022 12:54:38 GMT, Daniel Fuchs wrote: >> 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 12 additional >>

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

2022-08-03 Thread Daniel Fuchs
On Wed, 20 Jul 2022 23:41:04 GMT, Brian Burkhalter 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

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

2022-07-20 Thread Brian Burkhalter
> 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.