On Tue, 28 Sep 2021 22:07:38 GMT, Patricio Chilano Mateo 
<pchilanom...@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

This pull request has now been integrated.

Changeset: 95730229
Author:    Patricio Chilano Mateo <pchilanom...@openjdk.org>
URL:       
https://git.openjdk.java.net/jdk/commit/9573022978bfeff55b51fa6f30027f59a0783d31
Stats:     7 lines in 1 file changed: 3 ins; 3 del; 1 mod

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

Reviewed-by: dholmes, cjplummer, sspitsyn

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

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

Reply via email to