RFR: 8253197: vmTestbase/nsk/jvmti/StopThread/stopthrd007/TestDescription.java fails with "ERROR: DebuggeeSleepingThread: ThreadDeath lost"

Patricio Chilano Mateo pchilanomate at openjdk.java.net
Thu Sep 30 16:04:38 UTC 2021


On Wed, 29 Sep 2021 18:35:27 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:

>> Hi,
>> 
>> Please review this simple fix. As pointed out by @dholmes-ora in the bug comments, the ThreadDeath exception could be delivered and thrown while the target JavaThread is still executing within the Wicket.unlock call. To fix it I moved the unlock call inside the try block. I was able to reproduce the issue locally and verified the test now always passes with the fix.
>> 
>> Thanks,
>> Patricio
>
> Marked as reviewed by cjplummer (Reviewer).

Thanks for the reviews @plummercj and @sspitsyn!

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

PR: https://git.openjdk.java.net/jdk/pull/5742


More information about the serviceability-dev mailing list