comparison src/share/vm/memory/genCollectedHeap.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 2aa9ddbb9e60
children c9ca3f51cf41
comparison
equal deleted inserted replaced
3771:842b840e67db 3772:6747fd0512e0
1258 1258
1259 GCStats* GenCollectedHeap::gc_stats(int level) const { 1259 GCStats* GenCollectedHeap::gc_stats(int level) const {
1260 return _gens[level]->gc_stats(); 1260 return _gens[level]->gc_stats();
1261 } 1261 }
1262 1262
1263 void GenCollectedHeap::verify(bool allow_dirty, bool silent, bool option /* ignored */) { 1263 void GenCollectedHeap::verify(bool allow_dirty, bool silent, VerifyOption option /* ignored */) {
1264 if (!silent) { 1264 if (!silent) {
1265 gclog_or_tty->print("permgen "); 1265 gclog_or_tty->print("permgen ");
1266 } 1266 }
1267 perm_gen()->verify(allow_dirty); 1267 perm_gen()->verify(allow_dirty);
1268 for (int i = _n_gens-1; i >= 0; i--) { 1268 for (int i = _n_gens-1; i >= 0; i--) {