RFR: 8376405: Virtual thread crash: assert(!_current->is_suspended()) failed: must be

Serguei Spitsyn sspitsyn at openjdk.org
Thu Jan 29 15:52:06 UTC 2026


On Wed, 28 Jan 2026 21:56:00 GMT, Patricio Chilano Mateo <pchilanomate at openjdk.org> wrote:

> Please review this small fix. In 8375362 we skipped the suspend check in `MountUnmountDisabler::start_transition` for transition disablers to avoid deadlocks, but that means we also need to update the assert in `~UnmountBeginMark()`. I was able to reproduce the crash locally using ThreadStateTest2.java and confirmed it is now fixed.
> 
> Thanks,
> Patricio

Looks good. Strangely, I did not see this assert in my testing when the ThreadStateTest2 test was introduced. :)

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

Marked as reviewed by sspitsyn (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/29473#pullrequestreview-3723550698


More information about the serviceability-dev mailing list