RFR: 8376405: Virtual thread crash: assert(!_current->is_suspended()) failed: must be
David Holmes
dholmes at openjdk.org
Thu Jan 29 00:22:01 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
So we are logically suspended (`is_suspended()` is true) but we haven't actually done a check for suspension that would cause us to actually block, due to the transition-disabler?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/29473#issuecomment-3814621640
More information about the serviceability-dev
mailing list