RFR: 8284638: store skip buffers in InputStream Object [v2]

Alan Bateman alanb at openjdk.java.net
Wed Apr 13 14:39:15 UTC 2022


On Tue, 12 Apr 2022 22:19:18 GMT, XenoAmess <duke at openjdk.java.net> wrote:

>> @jmehrens what about this then?
>> I think it safe now(actually this mechanism is learned from Reader)
>
> XenoAmess has updated the pull request incrementally with one additional commit since the last revision:
> 
>   add MIN_SKIP_BUFFER_SIZE

This change may be  problematic for servers with a large number connections and an input stream for each connection. It could add up to 2k to the footprint of each connection when skip is used.

This change may be  problematic for servers with a large number connections and an input stream for each connection. It could add up to 2k to the footprint of each connection when skip is used.

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

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


More information about the core-libs-dev mailing list