Skip to content

Commit

Permalink
Equivalent but simpler fix
Browse files Browse the repository at this point in the history
  • Loading branch information
reinrich committed Apr 2, 2024
1 parent 93e79dd commit b2dabc9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/hotspot/share/runtime/threads.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit b2dabc9

Please sign in to comment.