src/hotspot/share/runtime/thread.cpp
changeset 51026 510ac4c08610
parent 50912 0d6ab24b6ad9
child 51376 181e6a03249b
child 51572 d2137bd1e57d
--- a/src/hotspot/share/runtime/thread.cpp	Tue Jul 10 15:09:34 2018 +0200
+++ b/src/hotspot/share/runtime/thread.cpp	Tue Jul 10 15:33:55 2018 +0200
@@ -963,7 +963,7 @@
 
 // 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)) {