mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8153186: Convert TraceGCTaskThread to use unified logging
Reviewed-by: mgerdin, tschatzl
This commit is contained in:
parent
84e45bf683
commit
8098362a32
3 changed files with 9 additions and 11 deletions
|
@ -107,10 +107,7 @@ void GCTaskThread::run() {
|
|||
this->initialize_named_thread();
|
||||
// Bind yourself to your processor.
|
||||
if (processor_id() != GCTaskManager::sentinel_worker()) {
|
||||
if (TraceGCTaskThread) {
|
||||
tty->print_cr("GCTaskThread::run: "
|
||||
" binding to processor %u", processor_id());
|
||||
}
|
||||
log_trace(gc, task, thread)("GCTaskThread::run: binding to processor %u", processor_id());
|
||||
if (!os::bind_to_processor(processor_id())) {
|
||||
DEBUG_ONLY(
|
||||
log_warning(gc)("Couldn't bind GCTaskThread %u to processor %u",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue