src/hotspot/share/runtime/vmThread.cpp
changeset 54663 f03d5a093093
parent 54645 05aaccf7d558
child 54786 ebf733a324d4
equal deleted inserted replaced
54662:afce4a27f2c2 54663:f03d5a093093
   621         _cur_vm_operation = NULL;
   621         _cur_vm_operation = NULL;
   622       }
   622       }
   623     }
   623     }
   624 
   624 
   625     //
   625     //
   626     //  Notify (potential) waiting Java thread(s) - lock without safepoint
   626     //  Notify (potential) waiting Java thread(s)
   627     //  check so that sneaking is not possible
   627     { MutexLocker mu(VMOperationRequest_lock, Mutex::_no_safepoint_check_flag);
   628     { MutexLocker mu(VMOperationRequest_lock,
       
   629                      Mutex::_no_safepoint_check_flag);
       
   630       VMOperationRequest_lock->notify_all();
   628       VMOperationRequest_lock->notify_all();
   631     }
   629     }
   632 
   630 
   633     // We want to make sure that we get to a safepoint regularly
   631     // We want to make sure that we get to a safepoint regularly
   634     // even when executing VMops that don't require safepoints.
   632     // even when executing VMops that don't require safepoints.