[jdk25] RFR: 8361827: [TESTBUG] serviceability/HeapDump/UnmountedVThreadNativeMethodAtTop.java throws OutOfMemoryError

Richard Reingruber rrich at openjdk.org
Thu Jul 17 08:07:49 UTC 2025


On Wed, 16 Jul 2025 18:00:50 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:

> The Systen.gc() might not trigger full GC.

Indeed. Might be better to use the Whitebox or start a dedicated VM.

> While not tjust o restrict heap for this test? 256M should be enough.

This would not help. The tests accumulate heap dumps until OOM. See reproducer.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26343#discussion_r2212617511


More information about the serviceability-dev mailing list