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

Patricio Chilano Mateo pchilanomate at openjdk.org
Wed Feb 4 00:30:29 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

Patricio Chilano Mateo has updated the pull request incrementally with one additional commit since the last revision:

  apply David suggestion

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/29473/files
  - new: https://git.openjdk.org/jdk/pull/29473/files/ad4e987c..1b2960c5

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=29473&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=29473&range=00-01

  Stats: 4 lines in 1 file changed: 0 ins; 2 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