hg: jdk/sandbox: 8193832: Performance of InputStream.readAllBytes() could be improved

chris.hegarty at oracle.com chris.hegarty at oracle.com
Fri Dec 22 22:19:02 UTC 2017


Changeset: 2c1af559e922
Author:    bpb
Date:      2017-12-22 14:00 -0800
URL:       http://hg.openjdk.java.net/jdk/sandbox/rev/2c1af559e922

8193832: Performance of InputStream.readAllBytes() could be improved
Summary: Read into a list of fixed-size buffers which are gathered at the end
Reviewed-by: alanb, chegar, plevart, jrose, psandoz

! src/java.base/share/classes/java/io/InputStream.java
! test/jdk/java/io/InputStream/ReadAllBytes.java



More information about the jdk-sandbox-changes mailing list