8000831: Heap verification output incorrect/incomplete

Restore non-silent output of heap verification.

Reviewed-by: ysr, brutisso, jmasa
This commit is contained in:
John Cuthbertson 2012-10-15 10:02:42 -07:00
parent 724e5ecfb3
commit 9abdcd4a3c
9 changed files with 34 additions and 28 deletions

View file

@ -315,7 +315,7 @@ bool PSScavenge::invoke_no_policy() {
if (VerifyBeforeGC && heap->total_collections() >= VerifyGCStartAt) {
HandleMark hm; // Discard invalid handles created during verification
gclog_or_tty->print(" VerifyBeforeGC:");
Universe::verify(true);
Universe::verify();
}
{
@ -639,7 +639,7 @@ bool PSScavenge::invoke_no_policy() {
if (VerifyAfterGC && heap->total_collections() >= VerifyGCStartAt) {
HandleMark hm; // Discard invalid handles created during verification
gclog_or_tty->print(" VerifyAfterGC:");
Universe::verify(false);
Universe::verify();
}
heap->print_heap_after_gc();