RFR: 8361602: [TESTBUG] serviceability/HeapDump/UnmountedVThreadNativeMethodAtTop.java deadlocks on exception
Matthias Baesken
mbaesken at openjdk.org
Thu Jul 10 08:02:38 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.
Seems you need to adjust the COPYRIGHT too, but otherwise looks good.
-------------
PR Review: https://git.openjdk.org/jdk/pull/26213#pullrequestreview-3004428723
More information about the serviceability-dev
mailing list