src/hotspot/share/runtime/vmOperations.cpp
changeset 54645 05aaccf7d558
parent 54623 1126f0607c70
child 54669 ad45b3802d4e
equal deleted inserted replaced
54644:8d52b4c6f9d8 54645:05aaccf7d558
   448        return num_active;
   448        return num_active;
   449     }
   449     }
   450 
   450 
   451     attempts++;
   451     attempts++;
   452 
   452 
   453     MutexLocker ml(&timer, Mutex::_no_safepoint_check_flag);
   453     MonitorLocker ml(&timer, Mutex::_no_safepoint_check_flag);
   454     timer.wait_without_safepoint_check(10);
   454     ml.wait(10);
   455   }
   455   }
   456 }
   456 }
   457 
   457 
   458 void VM_Exit::doit() {
   458 void VM_Exit::doit() {
   459   CompileBroker::set_should_block();
   459   CompileBroker::set_should_block();