hotspot/src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.cpp
changeset 17112 e49af4ba7755
parent 17109 90e6c31bbbe4
child 17114 b341b4c63384
equal deleted inserted replaced
17111:77f553b98e63 17112:e49af4ba7755
   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) {