Skip to content

Commit 939f18f

Browse files
author
duke
committedOct 12, 2020
Automatic merge of jdk:master into master
2 parents 3912bdc + 45b09a3 commit 939f18f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed
 

‎src/hotspot/share/runtime/mutexLocker.cpp

-3
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,6 @@ void assert_locked_or_safepoint(const Mutex* lock) {
169169
if (lock->owned_by_self()) return;
170170
if (SafepointSynchronize::is_at_safepoint()) return;
171171
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;
175172
fatal("must own lock %s", lock->name());
176173
}
177174

0 commit comments

Comments
 (0)
Please sign in to comment.