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

Serguei Spitsyn sspitsyn at openjdk.org
Wed Feb 4 04:02:27 UTC 2026


On Wed, 4 Feb 2026 00:30:29 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
>
> Patricio Chilano Mateo has updated the pull request incrementally with one additional commit since the last revision:
> 
>   apply David suggestion

Looks good.

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

Marked as reviewed by sspitsyn (Reviewer).

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


More information about the serviceability-dev mailing list