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);
|
PrintOnClosure cl(st);
|
||||||
cl.do_thread(VMThread::vm_thread());
|
non_java_threads_do(&cl);
|
||||||
Universe::heap()->gc_threads_do(&cl);
|
|
||||||
cl.do_thread(WatcherThread::watcher_thread());
|
|
||||||
cl.do_thread(AsyncLogWriter::instance());
|
|
||||||
|
|
||||||
st->flush();
|
st->flush();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user