We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3912bdc + 45b09a3 commit 939f18fCopy full SHA for 939f18f
src/hotspot/share/runtime/mutexLocker.cpp
@@ -169,9 +169,6 @@ void assert_locked_or_safepoint(const Mutex* lock) {
169
if (lock->owned_by_self()) return;
170
if (SafepointSynchronize::is_at_safepoint()) return;
171
if (!Universe::is_fully_initialized()) return;
172
- // see if invoker of VM operation owns it
173
- VM_Operation* op = VMThread::vm_operation();
174
- if (op != NULL && op->calling_thread() == lock->owner()) return;
175
fatal("must own lock %s", lock->name());
176
}
177
0 commit comments