--- old/src/hotspot/share/runtime/vm_operations.cpp 2018-05-31 22:45:06.084276548 -0400 +++ new/src/hotspot/share/runtime/vm_operations.cpp 2018-05-31 22:45:04.544187359 -0400 @@ -204,13 +204,6 @@ } bool VM_PrintThreads::doit_prologue() { - // Make sure AbstractOwnableSynchronizer is loaded - JavaThread* jt = JavaThread::current(); - java_util_concurrent_locks_AbstractOwnableSynchronizer::initialize(jt); - if (jt->has_pending_exception()) { - return false; - } - // Get Heap_lock if concurrent locks will be dumped if (_print_concurrent_locks) { Heap_lock->lock(); @@ -248,19 +241,6 @@ } } -bool VM_FindDeadlocks::doit_prologue() { - if (_concurrent_locks) { - // Make sure AbstractOwnableSynchronizer is loaded - JavaThread* jt = JavaThread::current(); - java_util_concurrent_locks_AbstractOwnableSynchronizer::initialize(jt); - if (jt->has_pending_exception()) { - return false; - } - } - - return true; -} - void VM_FindDeadlocks::doit() { // Update the hazard ptr in the originating thread to the current // list of threads. This VM operation needs the current list of @@ -316,13 +296,6 @@ } bool VM_ThreadDump::doit_prologue() { - // Make sure AbstractOwnableSynchronizer is loaded - JavaThread* jt = JavaThread::current(); - java_util_concurrent_locks_AbstractOwnableSynchronizer::initialize(jt); - if (jt->has_pending_exception()) { - return false; - } - if (_with_locked_synchronizers) { // Acquire Heap_lock to dump concurrent locks Heap_lock->lock();