changeset 50077:e32abf6409af

8202773: Unhandled oop in JavaThread::collect_counters Summary: remove MutexLocker Reviewed-by: dcubed
author kvn
date Thu, 10 May 2018 09:27:59 -0700
parents fff12b2f6795
children 5730ca794584
files src/hotspot/share/runtime/thread.cpp
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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]);