mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
8202773: Unhandled oop in JavaThread::collect_counters
Remove MutexLocker Reviewed-by: dcubed
This commit is contained in:
parent
f25fbfe1d2
commit
b2a68ca34f
1 changed files with 0 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue