RFR: JDK-8272318: Improve performance of HeapDumpAllTest
Sergey Bylokhov
serb at openjdk.java.net
Thu Aug 12 01:51:23 UTC 2021
On Wed, 11 Aug 2021 13:05:06 GMT, Ralf Schmelter <rschmelter at openjdk.org> wrote:
> This change triggers a GC by System.gc() in the test case, so the created heap dump is significantly smaller and the test runs much faster.
I also tried to improve this test, it almost always fails because of OOM when tried to parse the heap dump, the solution which works on my system is to mark the test as othervm. Can we do this in this change, or I can create a separate CR.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5084
More information about the serviceability-dev
mailing list