8202773: Unhandled oop in JavaThread::collect_counters
Summary: remove MutexLocker
Reviewed-by: dcubed
--- 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]);