comparison src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.cpp @ 10186:b06ac540229e

8013132: Add a flag to turn off the output of the verbose verification code Reviewed-by: johnc, brutisso
author stefank
date Wed, 24 Apr 2013 20:13:37 +0200
parents 868d87ed63c8
children 2f50bc369470
comparison
equal deleted inserted replaced
10185:d50cc62e94ff 10186:b06ac540229e
964 heap->accumulate_statistics_all_tlabs(); 964 heap->accumulate_statistics_all_tlabs();
965 heap->ensure_parsability(true); // retire TLABs 965 heap->ensure_parsability(true); // retire TLABs
966 966
967 if (VerifyBeforeGC && heap->total_collections() >= VerifyGCStartAt) { 967 if (VerifyBeforeGC && heap->total_collections() >= VerifyGCStartAt) {
968 HandleMark hm; // Discard invalid handles created during verification 968 HandleMark hm; // Discard invalid handles created during verification
969 gclog_or_tty->print(" VerifyBeforeGC:"); 969 Universe::verify(" VerifyBeforeGC:");
970 Universe::verify();
971 } 970 }
972 971
973 // Verify object start arrays 972 // Verify object start arrays
974 if (VerifyObjectStartArray && 973 if (VerifyObjectStartArray &&
975 VerifyBeforeGC) { 974 VerifyBeforeGC) {
2166 } 2165 }
2167 #endif // ASSERT 2166 #endif // ASSERT
2168 2167
2169 if (VerifyAfterGC && heap->total_collections() >= VerifyGCStartAt) { 2168 if (VerifyAfterGC && heap->total_collections() >= VerifyGCStartAt) {
2170 HandleMark hm; // Discard invalid handles created during verification 2169 HandleMark hm; // Discard invalid handles created during verification
2171 gclog_or_tty->print(" VerifyAfterGC:"); 2170 Universe::verify(" VerifyAfterGC:");
2172 Universe::verify();
2173 } 2171 }
2174 2172
2175 // Re-verify object start arrays 2173 // Re-verify object start arrays
2176 if (VerifyObjectStartArray && 2174 if (VerifyObjectStartArray &&
2177 VerifyAfterGC) { 2175 VerifyAfterGC) {