[jdk25] RFR: 8361827: [TESTBUG] serviceability/HeapDump/UnmountedVThreadNativeMethodAtTop.java throws OutOfMemoryError
Leonid Mesnik
lmesnik at openjdk.org
Wed Jul 16 18:03:46 UTC 2025
On Wed, 16 Jul 2025 06:24:16 GMT, SendaoYan <syan at openjdk.org> wrote:
> Hi all,
>
> This pull request contains a backport of commit [cbb3d23e](https://github.com/openjdk/jdk/commit/cbb3d23e19a8a893bf2fbda03e7bda4f4b7a59a6) from the [openjdk/jdk](https://git.openjdk.org/jdk) repository to jdk25.
>
>
> Test-fix only to improves test performance and stability. Change has been verified locally, no risk.
>
> Thanks!
Changes requested by lmesnik (Reviewer).
test/hotspot/jtreg/serviceability/HeapDump/UnmountedVThreadNativeMethodAtTop.java line 59:
> 57: @BeforeEach
> 58: void doGC() {
> 59: System.gc();
The Systen.gc() might not trigger full GC.
While not tjust o restrict heap for this test? 256M should be enough.
-------------
PR Review: https://git.openjdk.org/jdk/pull/26343#pullrequestreview-3026212575
PR Review Comment: https://git.openjdk.org/jdk/pull/26343#discussion_r2211166978
More information about the serviceability-dev
mailing list