Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/g1/concurrentMark.cpp @ 1719:b63010841f78
6975964: G1: print out a more descriptive message for evacuation failure when +PrintGCDetails is set
Summary: we're renaming "evacuation failure" to "to-space overflow". I'm also piggy-backing a small additional change which removes the "Mark closure took..." output.
Reviewed-by: ysr, johnc
author | tonyp |
---|---|
date | Tue, 17 Aug 2010 14:40:00 -0400 |
parents | c18cbe5936b8 |
children | 8b10f48633dc |
comparison
equal
deleted
inserted
replaced
1718:bb847e31b836 | 1719:b63010841f78 |
---|---|
2584 if (cmplt.completed()) break; | 2584 if (cmplt.completed()) break; |
2585 } | 2585 } |
2586 double end_time = os::elapsedTime(); | 2586 double end_time = os::elapsedTime(); |
2587 double elapsed_time_ms = (end_time - start) * 1000.0; | 2587 double elapsed_time_ms = (end_time - start) * 1000.0; |
2588 g1h->g1_policy()->record_mark_closure_time(elapsed_time_ms); | 2588 g1h->g1_policy()->record_mark_closure_time(elapsed_time_ms); |
2589 if (PrintGCDetails) { | |
2590 gclog_or_tty->print_cr("Mark closure took %5.2f ms.", elapsed_time_ms); | |
2591 } | |
2592 | 2589 |
2593 ClearMarksInHRClosure clr(nextMarkBitMap()); | 2590 ClearMarksInHRClosure clr(nextMarkBitMap()); |
2594 g1h->collection_set_iterate(&clr); | 2591 g1h->collection_set_iterate(&clr); |
2595 } | 2592 } |
2596 | 2593 |