comparison src/share/vm/gc_implementation/parallelScavenge/psMarkSweep.cpp @ 6865:4202510ee0fe

8000831: Heap verification output incorrect/incomplete Summary: Restore non-silent output of heap verification. Reviewed-by: ysr, brutisso, jmasa
author johnc
date Mon, 15 Oct 2012 10:02:42 -0700
parents 8966c2d65d96
children d0aa87f04bd5
comparison
equal deleted inserted replaced
6864:dd2b66d09ccd 6865:4202510ee0fe
137 heap->ensure_parsability(true); // retire TLABs 137 heap->ensure_parsability(true); // retire TLABs
138 138
139 if (VerifyBeforeGC && heap->total_collections() >= VerifyGCStartAt) { 139 if (VerifyBeforeGC && heap->total_collections() >= VerifyGCStartAt) {
140 HandleMark hm; // Discard invalid handles created during verification 140 HandleMark hm; // Discard invalid handles created during verification
141 gclog_or_tty->print(" VerifyBeforeGC:"); 141 gclog_or_tty->print(" VerifyBeforeGC:");
142 Universe::verify(true); 142 Universe::verify();
143 } 143 }
144 144
145 // Verify object start arrays 145 // Verify object start arrays
146 if (VerifyObjectStartArray && 146 if (VerifyObjectStartArray &&
147 VerifyBeforeGC) { 147 VerifyBeforeGC) {
339 } 339 }
340 340
341 if (VerifyAfterGC && heap->total_collections() >= VerifyGCStartAt) { 341 if (VerifyAfterGC && heap->total_collections() >= VerifyGCStartAt) {
342 HandleMark hm; // Discard invalid handles created during verification 342 HandleMark hm; // Discard invalid handles created during verification
343 gclog_or_tty->print(" VerifyAfterGC:"); 343 gclog_or_tty->print(" VerifyAfterGC:");
344 Universe::verify(false); 344 Universe::verify();
345 } 345 }
346 346
347 // Re-verify object start arrays 347 // Re-verify object start arrays
348 if (VerifyObjectStartArray && 348 if (VerifyObjectStartArray &&
349 VerifyAfterGC) { 349 VerifyAfterGC) {