RFR: 8361602: [TESTBUG] serviceability/HeapDump/UnmountedVThreadNativeMethodAtTop.java deadlocks on exception
Christoph Langer
clanger at openjdk.org
Thu Jul 10 08:02:39 UTC 2025
On Wed, 9 Jul 2025 07:39:05 GMT, Richard Reingruber <rrich at 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.
Looks good, modulo copyright year. 😄
-------------
Marked as reviewed by clanger (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/26213#pullrequestreview-3004433562
More information about the serviceability-dev
mailing list