RFR: 8376405: Virtual thread crash: assert(!_current->is_suspended()) failed: must be
Patricio Chilano Mateo
pchilanomate at openjdk.org
Wed Jan 28 22:13:24 UTC 2026
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
-------------
Commit messages:
- v1
Changes: https://git.openjdk.org/jdk/pull/29473/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=29473&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8376405
Stats: 5 lines in 1 file changed: 3 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/29473.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/29473/head:pull/29473
PR: https://git.openjdk.org/jdk/pull/29473
More information about the serviceability-dev
mailing list