comparison src/share/vm/memory/universe.cpp @ 3772:6747fd0512e0

7004681: G1: Extend marking verification to Full GCs Summary: Perform a heap verification after the first phase of G1's full GC using objects' mark words to determine liveness. The third parameter of the heap verification routines, which was used in G1 to determine which marking bitmap to use in liveness calculations, has been changed from a boolean to an enum with values defined for using the mark word, and the 'prev' and 'next' bitmaps. Reviewed-by: tonyp, ysr
author johnc
date Tue, 14 Jun 2011 11:01:10 -0700
parents c7f3d0b4570f
children fdb992d83a87
comparison
equal deleted inserted replaced
3771:842b840e67db 3772:6747fd0512e0
1276 heap()->total_full_collections()); 1276 heap()->total_full_collections());
1277 heap()->print_on(st); 1277 heap()->print_on(st);
1278 st->print_cr("}"); 1278 st->print_cr("}");
1279 } 1279 }
1280 1280
1281 void Universe::verify(bool allow_dirty, bool silent, bool option) { 1281 void Universe::verify(bool allow_dirty, bool silent, VerifyOption option) {
1282 if (SharedSkipVerify) { 1282 if (SharedSkipVerify) {
1283 return; 1283 return;
1284 } 1284 }
1285 1285
1286 // The use of _verify_in_progress is a temporary work around for 1286 // The use of _verify_in_progress is a temporary work around for