comparison src/share/vm/gc_implementation/g1/concurrentG1RefineThread.cpp @ 1019:035d2e036a9b

6885041: G1: inconsistent thread dump Summary: When G1 is enabled, thread dumps are inconsistent as the info for some of the G1 threads is not formatted properly. Reviewed-by: ysr, johnc
author tonyp
date Fri, 02 Oct 2009 16:12:07 -0400
parents e1fdf4fd34dc
children 44f61c24ddab
comparison
equal deleted inserted replaced
1018:8afee153274a 1019:035d2e036a9b
202 } 202 }
203 } 203 }
204 if (G1TraceConcurrentRefinement) gclog_or_tty->print_cr("G1-Refine-stop"); 204 if (G1TraceConcurrentRefinement) gclog_or_tty->print_cr("G1-Refine-stop");
205 } 205 }
206 206
207 void ConcurrentG1RefineThread::print() { 207 void ConcurrentG1RefineThread::print() const {
208 gclog_or_tty->print("\"Concurrent G1 Refinement Thread\" "); 208 print_on(tty);
209 Thread::print(); 209 }
210 gclog_or_tty->cr(); 210
211 } 211 void ConcurrentG1RefineThread::print_on(outputStream* st) const {
212 st->print("\"G1 Concurrent Refinement Thread#%d\" ", _worker_id);
213 Thread::print_on(st);
214 st->cr();
215 }