hotspot/src/share/vm/gc_implementation/parallelScavenge/psScavenge.cpp
changeset 17112 e49af4ba7755
parent 15228 e92acc84ade3
child 17393 7e99f263902c
equal deleted inserted replaced
17111:77f553b98e63 17112:e49af4ba7755
   312   heap->accumulate_statistics_all_tlabs();
   312   heap->accumulate_statistics_all_tlabs();
   313   heap->ensure_parsability(true);  // retire TLABs
   313   heap->ensure_parsability(true);  // retire TLABs
   314 
   314 
   315   if (VerifyBeforeGC && heap->total_collections() >= VerifyGCStartAt) {
   315   if (VerifyBeforeGC && heap->total_collections() >= VerifyGCStartAt) {
   316     HandleMark hm;  // Discard invalid handles created during verification
   316     HandleMark hm;  // Discard invalid handles created during verification
   317     gclog_or_tty->print(" VerifyBeforeGC:");
   317     Universe::verify(" VerifyBeforeGC:");
   318     Universe::verify();
       
   319   }
   318   }
   320 
   319 
   321   {
   320   {
   322     ResourceMark rm;
   321     ResourceMark rm;
   323     HandleMark hm;
   322     HandleMark hm;
   636     gc_task_manager()->release_idle_workers();
   635     gc_task_manager()->release_idle_workers();
   637   }
   636   }
   638 
   637 
   639   if (VerifyAfterGC && heap->total_collections() >= VerifyGCStartAt) {
   638   if (VerifyAfterGC && heap->total_collections() >= VerifyGCStartAt) {
   640     HandleMark hm;  // Discard invalid handles created during verification
   639     HandleMark hm;  // Discard invalid handles created during verification
   641     gclog_or_tty->print(" VerifyAfterGC:");
   640     Universe::verify(" VerifyAfterGC:");
   642     Universe::verify();
       
   643   }
   641   }
   644 
   642 
   645   heap->print_heap_after_gc();
   643   heap->print_heap_after_gc();
   646 
   644 
   647   if (ZapUnusedHeapArea) {
   645   if (ZapUnusedHeapArea) {