RFR: 8352088: Call of com.sun.jdi.ThreadReference.threadGroups() can lock up target VM [v4]

Serguei Spitsyn sspitsyn at openjdk.org
Thu Mar 27 20:50:16 UTC 2025


On Wed, 26 Mar 2025 20:50:36 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:

>> Calling ThreadGroupReference.groups() from an event handler can cause a deadlock. Details in first comment. Tested with :jdk_lang on all supported platforms and tier1, tier2, tier3, and tier5 svc testing.
>
> Chris Plummer has updated the pull request incrementally with one additional commit since the last revision:
> 
>   remove unused locals.

The fix looks okay to me. I guess new test fails with a deadlock without your fix.

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

Marked as reviewed by sspitsyn (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/24236#pullrequestreview-2723349861


More information about the core-libs-dev mailing list