Mercurial > hg > graal-compiler
comparison src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp @ 3317:063382f9b575
7035144: G1: nightly failure: Non-dirty cards in region that should be dirty (failures still exist...)
Summary: We should only undirty cards after we decide that they are not on a young region, not before. The fix also includes improvements to the verify_dirty_region() method which print out which cards were not found dirty.
Reviewed-by: johnc, brutisso
author | tonyp |
---|---|
date | Fri, 29 Apr 2011 14:59:04 -0400 |
parents | b52782ae3880 |
children | 2aa9ddbb9e60 |
comparison
equal
deleted
inserted
replaced
3316:cd8e33b2a8ad | 3317:063382f9b575 |
---|---|
968 size_t used_regions() { return n_regions() - free_regions(); } | 968 size_t used_regions() { return n_regions() - free_regions(); } |
969 | 969 |
970 // The number of regions available for "regular" expansion. | 970 // The number of regions available for "regular" expansion. |
971 size_t expansion_regions() { return _expansion_regions; } | 971 size_t expansion_regions() { return _expansion_regions; } |
972 | 972 |
973 void verify_not_dirty_region(HeapRegion* hr) PRODUCT_RETURN; | |
974 void verify_dirty_region(HeapRegion* hr) PRODUCT_RETURN; | |
973 void verify_dirty_young_list(HeapRegion* head) PRODUCT_RETURN; | 975 void verify_dirty_young_list(HeapRegion* head) PRODUCT_RETURN; |
974 void verify_dirty_young_regions() PRODUCT_RETURN; | 976 void verify_dirty_young_regions() PRODUCT_RETURN; |
975 | 977 |
976 // verify_region_sets() performs verification over the region | 978 // verify_region_sets() performs verification over the region |
977 // lists. It will be compiled in the product code to be used when | 979 // lists. It will be compiled in the product code to be used when |