Mercurial > hg > graal-compiler
comparison src/share/vm/gc_implementation/parallelScavenge/psScavenge.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 | 203f64878aab |
children | eba99d16dc6f |
comparison
equal
deleted
inserted
replaced
10185:d50cc62e94ff | 10186:b06ac540229e |
---|---|
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) { |