8153186: Convert TraceGCTaskThread to use unified logging

Reviewed-by: mgerdin, tschatzl
This commit is contained in:
Bengt Rutisson 2016-04-01 07:08:30 +02:00
parent 84e45bf683
commit 8098362a32
3 changed files with 9 additions and 11 deletions

View file

@ -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",