assert(!is_vthread_transition_disabler()) failed: no suspend allowed for vthread transition disablers

XMLWordPrintable

    • b03

        This crash is a regression introduced by JDK-8364343.
        The suggested fix is:

        diff --git a/src/hotspot/share/runtime/mountUnmountDisabler.cpp b/src/hotspot/share/runtime/mountUnmountDisabler.cpp
        index 5bf00323f10..261bbfb9c18 100644
        --- a/src/hotspot/share/runtime/mountUnmountDisabler.cpp
        +++ b/src/hotspot/share/runtime/mountUnmountDisabler.cpp
        @@ -367,7 +367,7 @@ MountUnmountDisabler::enable_transition_for_all() {
           OrderAccess::release();
         
           MonitorLocker ml(VThreadTransition_lock);
        - if (exclusive_operation_ongoing()) {
        + if (_is_exclusive) {
             set_exclusive_operation_ongoing(false);
           }
           dec_active_disablers();

              Assignee:
              Serguei Spitsyn
              Reporter:
              Serguei Spitsyn
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: