On Tue, 19 Apr 2022 18:04:03 GMT, XenoAmess <d...@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