Mercurial > hg > graal-compiler
comparison src/share/vm/gc_implementation/g1/g1CollectedHeap.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 | bb847e31b836 |
children | 8e5955ddf8e4 |
comparison
equal
deleted
inserted
replaced
1718:bb847e31b836 | 1719:b63010841f78 |
---|---|
3606 | 3606 |
3607 HeapRegion* r = heap_region_containing(old); | 3607 HeapRegion* r = heap_region_containing(old); |
3608 if (!r->evacuation_failed()) { | 3608 if (!r->evacuation_failed()) { |
3609 r->set_evacuation_failed(true); | 3609 r->set_evacuation_failed(true); |
3610 if (G1PrintHeapRegions) { | 3610 if (G1PrintHeapRegions) { |
3611 gclog_or_tty->print("evacuation failed in heap region "PTR_FORMAT" " | 3611 gclog_or_tty->print("overflow in heap region "PTR_FORMAT" " |
3612 "["PTR_FORMAT","PTR_FORMAT")\n", | 3612 "["PTR_FORMAT","PTR_FORMAT")\n", |
3613 r, r->bottom(), r->end()); | 3613 r, r->bottom(), r->end()); |
3614 } | 3614 } |
3615 } | 3615 } |
3616 | 3616 |
4319 concurrent_mark()->complete_marking_in_collection_set(); | 4319 concurrent_mark()->complete_marking_in_collection_set(); |
4320 | 4320 |
4321 if (evacuation_failed()) { | 4321 if (evacuation_failed()) { |
4322 remove_self_forwarding_pointers(); | 4322 remove_self_forwarding_pointers(); |
4323 if (PrintGCDetails) { | 4323 if (PrintGCDetails) { |
4324 gclog_or_tty->print(" (evacuation failed)"); | 4324 gclog_or_tty->print(" (to-space overflow)"); |
4325 } else if (PrintGC) { | 4325 } else if (PrintGC) { |
4326 gclog_or_tty->print("--"); | 4326 gclog_or_tty->print("--"); |
4327 } | 4327 } |
4328 } | 4328 } |
4329 | 4329 |