mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8000831: Heap verification output incorrect/incomplete
Restore non-silent output of heap verification. Reviewed-by: ysr, brutisso, jmasa
This commit is contained in:
parent
724e5ecfb3
commit
9abdcd4a3c
9 changed files with 34 additions and 28 deletions
|
@ -983,7 +983,7 @@ void PSParallelCompact::pre_compact(PreGCValues* pre_gc_values)
|
|||
if (VerifyBeforeGC && heap->total_collections() >= VerifyGCStartAt) {
|
||||
HandleMark hm; // Discard invalid handles created during verification
|
||||
gclog_or_tty->print(" VerifyBeforeGC:");
|
||||
Universe::verify(true);
|
||||
Universe::verify();
|
||||
}
|
||||
|
||||
// Verify object start arrays
|
||||
|
@ -2184,7 +2184,7 @@ bool PSParallelCompact::invoke_no_policy(bool maximum_heap_compaction) {
|
|||
if (VerifyAfterGC && heap->total_collections() >= VerifyGCStartAt) {
|
||||
HandleMark hm; // Discard invalid handles created during verification
|
||||
gclog_or_tty->print(" VerifyAfterGC:");
|
||||
Universe::verify(false);
|
||||
Universe::verify();
|
||||
}
|
||||
|
||||
// Re-verify object start arrays
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue