155 while (!_has_terminated) { |
155 while (!_has_terminated) { |
156 Terminator_lock->wait(); |
156 Terminator_lock->wait(); |
157 } |
157 } |
158 } |
158 } |
159 |
159 |
160 void ConcurrentZFThread::print() { |
160 void ConcurrentZFThread::print() const { |
161 gclog_or_tty->print("\"Concurrent ZF Thread\" "); |
161 print_on(tty); |
162 Thread::print(); |
162 } |
163 gclog_or_tty->cr(); |
163 |
|
164 void ConcurrentZFThread::print_on(outputStream* st) const { |
|
165 st->print("\"G1 Concurrent Zero-Fill Thread\" "); |
|
166 Thread::print_on(st); |
|
167 st->cr(); |
164 } |
168 } |
165 |
169 |
166 |
170 |
167 double ConcurrentZFThread::_vtime_accum; |
171 double ConcurrentZFThread::_vtime_accum; |
168 |
172 |