1.1 --- a/src/share/vm/gc_implementation/g1/concurrentZFThread.cpp Fri Oct 16 14:08:44 2009 -0700 1.2 +++ b/src/share/vm/gc_implementation/g1/concurrentZFThread.cpp Mon Oct 19 17:02:19 2009 -0400 1.3 @@ -157,10 +157,14 @@ 1.4 } 1.5 } 1.6 1.7 -void ConcurrentZFThread::print() { 1.8 - gclog_or_tty->print("\"Concurrent ZF Thread\" "); 1.9 - Thread::print(); 1.10 - gclog_or_tty->cr(); 1.11 +void ConcurrentZFThread::print() const { 1.12 + print_on(tty); 1.13 +} 1.14 + 1.15 +void ConcurrentZFThread::print_on(outputStream* st) const { 1.16 + st->print("\"G1 Concurrent Zero-Fill Thread\" "); 1.17 + Thread::print_on(st); 1.18 + st->cr(); 1.19 } 1.20 1.21