comparison src/share/vm/gc_implementation/g1/concurrentG1Refine.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 6cb8e9df7174
children 44f61c24ddab
comparison
equal deleted inserted replaced
1018:8afee153274a 1019:035d2e036a9b
375 #ifndef PRODUCT 375 #ifndef PRODUCT
376 double elapsed = os::elapsedTime() - start; 376 double elapsed = os::elapsedTime() - start;
377 _g1h->g1_policy()->record_cc_clear_time(elapsed * 1000.0); 377 _g1h->g1_policy()->record_cc_clear_time(elapsed * 1000.0);
378 #endif 378 #endif
379 } 379 }
380
381 void ConcurrentG1Refine::print_worker_threads_on(outputStream* st) const {
382 for (int i = 0; i < _n_threads; ++i) {
383 _threads[i]->print_on(st);
384 st->cr();
385 }
386 }
387