8202773: Unhandled oop in JavaThread::collect_counters
authorkvn
Thu, 10 May 2018 09:27:59 -0700
changeset 50077 e32abf6409af
parent 50076 fff12b2f6795
child 50078 5730ca794584
8202773: Unhandled oop in JavaThread::collect_counters Summary: remove MutexLocker Reviewed-by: dcubed
src/hotspot/share/runtime/thread.cpp
--- a/src/hotspot/share/runtime/thread.cpp	Tue May 08 15:28:12 2018 -0700
+++ b/src/hotspot/share/runtime/thread.cpp	Thu May 10 09:27:59 2018 -0700
@@ -1467,7 +1467,6 @@
 
 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]);