comparison src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp @ 20291:e0954897238a

7132678: G1: verify that the marking bitmaps have no marks for objects over TAMS Reviewed-by: jmasa, tschatzl, ehelin Contributed-by: tony.printezis@oracle.com, bengt.rutisson@oracle.com
author brutisso
date Tue, 29 Apr 2014 09:33:20 +0200
parents 2c6ef90f030a
children 3f2894c5052e
comparison
equal deleted inserted replaced
20290:85c339200299 20291:e0954897238a
1188 void verify_not_dirty_region(HeapRegion* hr) PRODUCT_RETURN; 1188 void verify_not_dirty_region(HeapRegion* hr) PRODUCT_RETURN;
1189 void verify_dirty_region(HeapRegion* hr) PRODUCT_RETURN; 1189 void verify_dirty_region(HeapRegion* hr) PRODUCT_RETURN;
1190 void verify_dirty_young_list(HeapRegion* head) PRODUCT_RETURN; 1190 void verify_dirty_young_list(HeapRegion* head) PRODUCT_RETURN;
1191 void verify_dirty_young_regions() PRODUCT_RETURN; 1191 void verify_dirty_young_regions() PRODUCT_RETURN;
1192 1192
1193 #ifndef PRODUCT
1194 // Make sure that the given bitmap has no marked objects in the
1195 // range [from,limit). If it does, print an error message and return
1196 // false. Otherwise, just return true. bitmap_name should be "prev"
1197 // or "next".
1198 bool verify_no_bits_over_tams(const char* bitmap_name, CMBitMapRO* bitmap,
1199 HeapWord* from, HeapWord* limit);
1200
1201 // Verify that the prev / next bitmap range [tams,end) for the given
1202 // region has no marks. Return true if all is well, false if errors
1203 // are detected.
1204 bool verify_bitmaps(const char* caller, HeapRegion* hr);
1205 #endif // PRODUCT
1206
1207 // If G1VerifyBitmaps is set, verify that the marking bitmaps for
1208 // the given region do not have any spurious marks. If errors are
1209 // detected, print appropriate error messages and crash.
1210 void check_bitmaps(const char* caller, HeapRegion* hr) PRODUCT_RETURN;
1211
1212 // If G1VerifyBitmaps is set, verify that the marking bitmaps do not
1213 // have any spurious marks. If errors are detected, print
1214 // appropriate error messages and crash.
1215 void check_bitmaps(const char* caller) PRODUCT_RETURN;
1216
1193 // verify_region_sets() performs verification over the region 1217 // verify_region_sets() performs verification over the region
1194 // lists. It will be compiled in the product code to be used when 1218 // lists. It will be compiled in the product code to be used when
1195 // necessary (i.e., during heap verification). 1219 // necessary (i.e., during heap verification).
1196 void verify_region_sets(); 1220 void verify_region_sets();
1197 1221