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

jmehrens duke at openjdk.java.net
Tue Apr 19 22:41:27 UTC 2022


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

> no, we use other way, but yes for we take care of thread safety.

Fair enough.

> Don't think it necessary... I think making it cannot touched by other object (with security manager on) is enough.

I was thinking more for heapdumps due to extending the life of the skip buffer in this patch.  At least we don't have to waste more cycles.

Oh I forgot last time but, it looks like MIN_SKIP_BUFFER_SIZE is not used.  Unless I'm missing something I assume that is a bug.

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

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


More information about the core-libs-dev mailing list