-
Enhancement
-
Resolution: Fixed
-
P4
-
17
-
b18
-
Verified
A DESCRIPTION OF THE PROBLEM :
WithJDK-8264777, i suggested to overload optimized FileInputStream::readAllBytes.
The same improvement could be done for java.nio's java.nio.file.Files.newInputStream().readAllBytes() - which is still as slow as before.
I suggest to overload sun.nio.ch.ChannelInputStream::readAllBytes with the same algorithm as FileInputStream::readAllBytes.
SeeJDK-8264777 / FileInputStream::readAllBytes of JDK17 for details.
With
The same improvement could be done for java.nio's java.nio.file.Files.newInputStream().readAllBytes() - which is still as slow as before.
I suggest to overload sun.nio.ch.ChannelInputStream::readAllBytes with the same algorithm as FileInputStream::readAllBytes.
See
- relates to
-
JDK-8274780 ChannelInputStream.readNBytes(int) incorrectly calls readAllBytes()
-
- Resolved
-
-
JDK-8275265 java/nio/channels tests needing large heap sizes fail on x86_32
-
- Closed
-
-
JDK-8264777 Overload optimized FileInputStream::readAllBytes
-
- Closed
-