8202773: Unhandled oop in JavaThread::collect_counters

Remove MutexLocker

Reviewed-by: dcubed
This commit is contained in:
Vladimir Kozlov 2018-05-10 09:27:59 -07:00
parent f25fbfe1d2
commit b2a68ca34f

View File

@ -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]);