Loading... (original) (raw)
- Type:
Bug
- Resolution: Fixed
- Priority:
P4
- Fix Version/s: 11
- Affects Version/s: 9, 10
InputStream.readAllBytes() currently uses intermediate buffers of geometrically increasing size with a copy into each intermediate buffer at each stage. It is possible to improve the memory usage and performance using an alternate algorithm of storing a list of fixed size buffers and gathering those into a single buffer at the end.
backported by
JDK-8237172 Performance of InputStream.readAllBytes() could be improved
- Resolved
JDK-8239202 Performance of InputStream.readAllBytes() could be improved
- Resolved
JDK-8239998 Performance of InputStream.readAllBytes() could be improved
- Resolved
relates to
JDK-8080835 Add blocking bulk read operations to java.io.InputStream
- Closed
JDK-8264777 Overload optimized FileInputStream::readAllBytes
- Closed
links to
(1 links to)