On Wed, 9 Jul 2025 07:39:05 GMT, Richard Reingruber <rr...@openjdk.org> wrote:

> This pr moves the `notify()` call to the finally block to avoid the deadlock 
> in `join()` if `verifyHeapDump(dumpFile)` throws an exception.
> 
> 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: 917d0182
Author:    Richard Reingruber <rr...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/917d0182cb5ea6066afd396381ca4650371e64b0
Stats:     10 lines in 1 file changed: 5 ins; 1 del; 4 mod

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

Reviewed-by: cjplummer, clanger, dholmes

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

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

Reply via email to