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. This pull request has now been integrated. Changeset: cbb3d23e Author: Richard Reingruber <rr...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/cbb3d23e19a8a893bf2fbda03e7bda4f4b7a59a6 Stats: 10 lines in 1 file changed: 10 ins; 0 del; 0 mod 8361827: [TESTBUG] serviceability/HeapDump/UnmountedVThreadNativeMethodAtTop.java throws OutOfMemoryError Reviewed-by: clanger, syan ------------- PR: https://git.openjdk.org/jdk/pull/26278