< prev index next >

src/hotspot/share/runtime/thread.cpp

Print this page

        

@@ -961,11 +961,11 @@
 
 #ifndef PRODUCT
 
 // The flag: potential_vm_operation notifies if this particular safepoint state could potentially
 // invoke the vm-thread (e.g., an oop allocation). In that case, we also have to make sure that
-// no threads which allow_vm_block's are held
+// no locks which allow_vm_block's are held
 void Thread::check_for_valid_safepoint_state(bool potential_vm_operation) {
   // Check if current thread is allowed to block at a safepoint
   if (!(_allow_safepoint_count == 0)) {
     fatal("Possible safepoint reached by thread that does not allow it");
   }
< prev index next >