mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
8329109: Threads::print_on() tries to print CPU time for terminated GC threads
Backport-of: c1cfb43d8d
This commit is contained in:
committed by
Vitaly Provodin
parent
26a5760faf
commit
8b00cadfd6
@@ -1323,10 +1323,7 @@ void Threads::print_on(outputStream* st, bool print_stacks,
|
||||
}
|
||||
|
||||
PrintOnClosure cl(st);
|
||||
cl.do_thread(VMThread::vm_thread());
|
||||
Universe::heap()->gc_threads_do(&cl);
|
||||
cl.do_thread(WatcherThread::watcher_thread());
|
||||
cl.do_thread(AsyncLogWriter::instance());
|
||||
non_java_threads_do(&cl);
|
||||
|
||||
st->flush();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user