src/share/vm/gc_implementation/g1/concurrentZFThread.cpp

changeset 1454
035d2e036a9b
parent 1371
e1fdf4fd34dc
child 1461
f99f695bb8ef
     1.1 --- a/src/share/vm/gc_implementation/g1/concurrentZFThread.cpp	Mon Oct 05 05:51:22 2009 -0700
     1.2 +++ b/src/share/vm/gc_implementation/g1/concurrentZFThread.cpp	Fri Oct 02 16:12:07 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  

mercurial