On Sat, 12 Jul 2025 06:10:31 GMT, Richard Reingruber <rr...@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.

Looks good and likely improves test performance and stability.

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

Marked as reviewed by clanger (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/26278#pullrequestreview-3015091182

Reply via email to