Skip to content

Commit 3d83f3e

Browse files
committed
8329109: Threads::print_on() tries to print CPU time for terminated GC threads
Reviewed-by: rrich Backport-of: c1cfb43d8de8d0eed01b9bb6aa1202dc7cbff007
1 parent 1e63af9 commit 3d83f3e

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/hotspot/share/runtime/thread.cpp

+1-8
Original file line numberDiff line numberDiff line change
@@ -3828,14 +3828,7 @@ void Threads::print_on(outputStream* st, bool print_stacks,
38283828
}
38293829

38303830
PrintOnClosure cl(st);
3831-
cl.do_thread(VMThread::vm_thread());
3832-
Universe::heap()->gc_threads_do(&cl);
3833-
if (StringDedup::is_enabled()) {
3834-
StringDedup::threads_do(&cl);
3835-
}
3836-
cl.do_thread(WatcherThread::watcher_thread());
3837-
cl.do_thread(AsyncLogWriter::instance());
3838-
3831+
non_java_threads_do(&cl);
38393832
st->flush();
38403833
}
38413834

0 commit comments

Comments
 (0)