Mercurial > hg > truffle
comparison src/share/vm/memory/genCollectedHeap.cpp @ 6865:4202510ee0fe
8000831: Heap verification output incorrect/incomplete
Summary: Restore non-silent output of heap verification.
Reviewed-by: ysr, brutisso, jmasa
author | johnc |
---|---|
date | Mon, 15 Oct 2012 10:02:42 -0700 |
parents | da91efe96a93 |
children | db9981fd3124 |
comparison
equal
deleted
inserted
replaced
6864:dd2b66d09ccd | 6865:4202510ee0fe |
---|---|
445 if (!prepared_for_verification) { | 445 if (!prepared_for_verification) { |
446 prepare_for_verify(); | 446 prepare_for_verify(); |
447 prepared_for_verification = true; | 447 prepared_for_verification = true; |
448 } | 448 } |
449 gclog_or_tty->print(" VerifyBeforeGC:"); | 449 gclog_or_tty->print(" VerifyBeforeGC:"); |
450 Universe::verify(true); | 450 Universe::verify(); |
451 } | 451 } |
452 COMPILER2_PRESENT(DerivedPointerTable::clear()); | 452 COMPILER2_PRESENT(DerivedPointerTable::clear()); |
453 | 453 |
454 if (!must_restore_marks_for_biased_locking && | 454 if (!must_restore_marks_for_biased_locking && |
455 _gens[i]->performs_in_place_marking()) { | 455 _gens[i]->performs_in_place_marking()) { |
517 | 517 |
518 if (VerifyAfterGC && i >= VerifyGCLevel && | 518 if (VerifyAfterGC && i >= VerifyGCLevel && |
519 total_collections() >= VerifyGCStartAt) { | 519 total_collections() >= VerifyGCStartAt) { |
520 HandleMark hm; // Discard invalid handles created during verification | 520 HandleMark hm; // Discard invalid handles created during verification |
521 gclog_or_tty->print(" VerifyAfterGC:"); | 521 gclog_or_tty->print(" VerifyAfterGC:"); |
522 Universe::verify(false); | 522 Universe::verify(); |
523 } | 523 } |
524 | 524 |
525 if (PrintGCDetails) { | 525 if (PrintGCDetails) { |
526 gclog_or_tty->print(":"); | 526 gclog_or_tty->print(":"); |
527 _gens[i]->print_heap_change(prev_used); | 527 _gens[i]->print_heap_change(prev_used); |