Integrated: 8332738: Debug agent can deadlock on callbackLock when using StackFrame.PopFrames

Chris Plummer cjplummer at openjdk.org
Mon Jul 29 16:58:43 UTC 2024


On Mon, 22 Jul 2024 20:32:35 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:

> Fix deadlock with debug agent callbackLock. Details in first comment.
> 
> Tested by running all jdi, jdwp, and jdb tests with and without virtual threads about 40 times. The testing was initially done with my hack to force the self suspend (see the first comment in the CR), and then I did final testing without it. I also did final testing with all tier5 svc tests.

This pull request has now been integrated.

Changeset: c4e6255a
Author:    Chris Plummer <cjplummer at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/c4e6255ac3ec5520c4cb6d0d4ad9013da177ba88
Stats:     44 lines in 5 files changed: 29 ins; 3 del; 12 mod

8332738: Debug agent can deadlock on callbackLock when using StackFrame.PopFrames

Reviewed-by: sspitsyn, amenkov

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

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


More information about the serviceability-dev mailing list