equal
deleted
inserted
replaced
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) { |