8202773: Unhandled oop in JavaThread::collect_counters
Remove MutexLocker Reviewed-by: dcubed
This commit is contained in:
parent
f25fbfe1d2
commit
b2a68ca34f
@ -1467,7 +1467,6 @@ bool jvmci_counters_include(JavaThread* thread) {
|
|||||||
|
|
||||||
void JavaThread::collect_counters(typeArrayOop array) {
|
void JavaThread::collect_counters(typeArrayOop array) {
|
||||||
if (JVMCICounterSize > 0) {
|
if (JVMCICounterSize > 0) {
|
||||||
MutexLocker tl(Threads_lock);
|
|
||||||
JavaThreadIteratorWithHandle jtiwh;
|
JavaThreadIteratorWithHandle jtiwh;
|
||||||
for (int i = 0; i < array->length(); i++) {
|
for (int i = 0; i < array->length(); i++) {
|
||||||
array->long_at_put(i, _jvmci_old_thread_counters[i]);
|
array->long_at_put(i, _jvmci_old_thread_counters[i]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user