RFR: 8262386: resourcehogs/serviceability/sa/TestHeapDumpForLargeArray.java timed out [v8]
Chris Plummer
cjplummer at openjdk.java.net
Mon May 10 23:22:55 UTC 2021
On Fri, 7 May 2021 15:37:34 GMT, Lin Zang <lzang at openjdk.org> wrote:
> Having tried all these ways, I think maybe current solution with `unbufferedMode` is better. Because it is easy to calculate the array length in `calculateArrayMaxLength()` and hence know the size of the data to written. Then it can fill the `size` slot before data are seen, and avoid using the internal segment buffer by write large array data directly to file.
I think that makes sense. Is this now fully implemented in this PR and it is ready for a final review?
-------------
PR: https://git.openjdk.java.net/jdk/pull/2803
More information about the serviceability-dev
mailing list