On Tue, 30 May 2023 22:58:58 GMT, Alex Menkov <amen...@openjdk.org> wrote:
> The change fixes regression from JDK-8299414. > There is a deadlock between JvmtiVTMSTransitionDisabler and EscapeBarrier > when virtual threads are in mount/unmount transition: > EscapeBarrier requests deoptimization which requires thread suspension. > JvmtiVTMSTransitionDisabler ctor waits until all in progress VTMS transitions > complete, but they cannot be completed as thread is suspended. > To avoid the deadlock mount/unmount transitions should be completed before > EscapeBarrier stuff. This pull request has now been integrated. Changeset: 62c935d4 Author: Alex Menkov <amen...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/62c935d4fa09ed557d301bc28d9bf1480b344989 Stats: 22 lines in 2 files changed: 6 ins; 16 del; 0 mod 8308978: regression with a deadlock involving FollowReferences Reviewed-by: sspitsyn, lmesnik ------------- PR: https://git.openjdk.org/jdk/pull/14233