RFR: 8284638: store skip buffers in InputStream Object [v7]
liach
duke at openjdk.java.net
Tue Apr 19 22:51:27 UTC 2022
On Fri, 15 Apr 2022 18:56:37 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:
>
> change to liach operation.
src/java.base/share/classes/java/io/InputStream.java line 62:
> 60:
> 61: /** Skip buffer, null until allocated */
> 62: private byte[] skipBuffer = null;
This can be removed too as you have the soft reference already.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5872
More information about the core-libs-dev
mailing list