RFR: 8274620: resourcehogs/serviceability/sa/TestHeapDumpForLargeArray.java is timing out

David Holmes dholmes at openjdk.java.net
Mon Oct 11 04:20:10 UTC 2021


On Fri, 8 Oct 2021 06:00:03 GMT, Lin Zang <lzang at openjdk.org> wrote:

> This PR fix the issue of JDK-8274620 (resourcehogs/serviceability/sa/TestHeapDumpForLargeArray.java is timing out)
> The root cause is that `BufferedOutputStream` should be used when writting data to file.

Looks like this change to use a buffered stream is now causing serviceability/sa/TestJmapCore.java to fail with "Stackframe 0x4 not found" - which I'm going to assume is due to the buffering and a missing flush/close. I am filing a bug for that and will assign to you.

David

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

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


More information about the serviceability-dev mailing list