From b2a68ca34fd54eb65d964d27600525119e9124b5 Mon Sep 17 00:00:00 2001 From: Vladimir Kozlov Date: Thu, 10 May 2018 09:27:59 -0700 Subject: [PATCH] 8202773: Unhandled oop in JavaThread::collect_counters Remove MutexLocker Reviewed-by: dcubed --- src/hotspot/share/runtime/thread.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/hotspot/share/runtime/thread.cpp b/src/hotspot/share/runtime/thread.cpp index a9296855fd2..8fdfca8d5bd 100644 --- a/src/hotspot/share/runtime/thread.cpp +++ b/src/hotspot/share/runtime/thread.cpp @@ -1467,7 +1467,6 @@ bool jvmci_counters_include(JavaThread* thread) { void JavaThread::collect_counters(typeArrayOop array) { if (JVMCICounterSize > 0) { - MutexLocker tl(Threads_lock); JavaThreadIteratorWithHandle jtiwh; for (int i = 0; i < array->length(); i++) { array->long_at_put(i, _jvmci_old_thread_counters[i]);