8329109: Threads::print_on() tries to print CPU time for terminated GC threads
Reviewed-by: mbaesken, dholmes, ayang
This commit is contained in:
parent
5860a48c71
commit
c1cfb43d8d
@ -1336,10 +1336,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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user