comparison src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.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
981 heap->ensure_parsability(true); // retire TLABs 981 heap->ensure_parsability(true); // retire TLABs
982 982
983 if (VerifyBeforeGC && heap->total_collections() >= VerifyGCStartAt) { 983 if (VerifyBeforeGC && heap->total_collections() >= VerifyGCStartAt) {
984 HandleMark hm; // Discard invalid handles created during verification 984 HandleMark hm; // Discard invalid handles created during verification
985 gclog_or_tty->print(" VerifyBeforeGC:"); 985 gclog_or_tty->print(" VerifyBeforeGC:");
986 Universe::verify(true); 986 Universe::verify();
987 } 987 }
988 988
989 // Verify object start arrays 989 // Verify object start arrays
990 if (VerifyObjectStartArray && 990 if (VerifyObjectStartArray &&
991 VerifyBeforeGC) { 991 VerifyBeforeGC) {
2182 #endif // ASSERT 2182 #endif // ASSERT
2183 2183
2184 if (VerifyAfterGC && heap->total_collections() >= VerifyGCStartAt) { 2184 if (VerifyAfterGC && heap->total_collections() >= VerifyGCStartAt) {
2185 HandleMark hm; // Discard invalid handles created during verification 2185 HandleMark hm; // Discard invalid handles created during verification
2186 gclog_or_tty->print(" VerifyAfterGC:"); 2186 gclog_or_tty->print(" VerifyAfterGC:");
2187 Universe::verify(false); 2187 Universe::verify();
2188 } 2188 }
2189 2189
2190 // Re-verify object start arrays 2190 // Re-verify object start arrays
2191 if (VerifyObjectStartArray && 2191 if (VerifyObjectStartArray &&
2192 VerifyAfterGC) { 2192 VerifyAfterGC) {