[jdk25] Integrated: 8361602: [TESTBUG] serviceability/HeapDump/UnmountedVThreadNativeMethodAtTop.java deadlocks on exception

Richard Reingruber rrich at openjdk.org
Tue Jul 15 08:05:47 UTC 2025


On Sat, 12 Jul 2025 08:27:19 GMT, Richard Reingruber <rrich at openjdk.org> wrote:

> This pull request contains a backport of commit [917d0182](https://github.com/openjdk/jdk/commit/917d0182cb5ea6066afd396381ca4650371e64b0) from the [openjdk/jdk](https://git.openjdk.org/jdk) repository.
> 
> It moves the notify() call to the finally block to avoid the deadlock in join() if verifyHeapDump(dumpFile) throws an exception. It also wraps the wait into a loop to protect against spurious wake up.
> 
> The commit being backported was authored by Richard Reingruber on 12 Jul 2025 and was reviewed by Chris Plummer, Christoph Langer and David Holmes.
> 
> Testing was done with fastdebug and release builds on the main platforms and also on Linux/PPC64le and AIX.

This pull request has now been integrated.

Changeset: ce85123f
Author:    Richard Reingruber <rrich at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/ce85123f3ab23839261084c7dbf933202dcb7194
Stats:     10 lines in 1 file changed: 5 ins; 1 del; 4 mod

8361602: [TESTBUG] serviceability/HeapDump/UnmountedVThreadNativeMethodAtTop.java deadlocks on exception

Reviewed-by: clanger, cjplummer
Backport-of: 917d0182cb5ea6066afd396381ca4650371e64b0

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

PR: https://git.openjdk.org/jdk/pull/26279


More information about the serviceability-dev mailing list