--- a/src/hotspot/share/runtime/vm_operations.cpp Tue Jun 05 21:38:38 2018 +0200
+++ b/src/hotspot/share/runtime/vm_operations.cpp Tue Jun 05 19:58:20 2018 -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();