RFR: 8361827: [TESTBUG] serviceability/HeapDump/UnmountedVThreadNativeMethodAtTop.java throws OutOfMemoryError
SendaoYan
syan at openjdk.org
Mon Jul 14 12:49:44 UTC 2025
On Sat, 12 Jul 2025 06:10:31 GMT, Richard Reingruber <rrich at openjdk.org> wrote:
> This pr makes sure to call System.gc() before each test in UnmountedVThreadNativeMethodAtTop.java
>
> The intention is to get rid of unreachable objects representing loaded heap dumps from previous tests.
>
> This prevents OutOfMemoryErrors. Parsing the smaller dumps is faster too.
>
> The PR also includes a reproducer for convenient testing of the pr.
Marked as reviewed by syan (Committer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/26278#pullrequestreview-3016242126
More information about the serviceability-dev
mailing list