RFR: 8277361: java/nio/channels/Channels/ReadXBytes.java fails with OOM error

Alan Bateman alanb at openjdk.java.net
Tue Dec 7 06:32:11 UTC 2021


On Tue, 7 Dec 2021 01:47:47 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> This request would increase the amount of heap memory that the test can use, and decrease execution time by not writing the entirety of test files.

Marked as reviewed by alanb (Reviewer).

test/jdk/java/nio/channels/Channels/ReadXBytes.java line 91:

> 89:         Path path = createFilePath();
> 90:         path.toFile().deleteOnExit();
> 91:         try (FileChannel fc = FileChannel.open(path, CREATE_NEW, SPARSE, WRITE);) {

Spurious semicolon at the end.

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

PR: https://git.openjdk.java.net/jdk/pull/6732


More information about the nio-dev mailing list