mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8079337: Format string issues in workgroup.cpp and taskqueue.cpp
Reviewed-by: jwilhelm, pliden, ehelin
This commit is contained in:
parent
e5b7417b04
commit
4ff6849791
2 changed files with 11 additions and 15 deletions
|
@ -31,8 +31,6 @@
|
|||
#include "utilities/stack.inline.hpp"
|
||||
#include "utilities/taskqueue.hpp"
|
||||
|
||||
PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC
|
||||
|
||||
#ifdef TRACESPINNING
|
||||
uint ParallelTaskTerminator::_total_yields = 0;
|
||||
uint ParallelTaskTerminator::_total_spins = 0;
|
||||
|
@ -216,8 +214,8 @@ ParallelTaskTerminator::offer_termination(TerminatorTerminator* terminator) {
|
|||
} else {
|
||||
if (PrintGCDetails && Verbose) {
|
||||
gclog_or_tty->print_cr("ParallelTaskTerminator::offer_termination() "
|
||||
"thread %d sleeps after %d yields",
|
||||
Thread::current(), yield_count);
|
||||
"thread " PTR_FORMAT " sleeps after %u yields",
|
||||
p2i(Thread::current()), yield_count);
|
||||
}
|
||||
yield_count = 0;
|
||||
// A sleep will cause this processor to seek work on another processor's
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue