mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +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
|
@ -139,7 +139,7 @@ bool PSMarkSweep::invoke_no_policy(bool clear_all_softrefs) {
|
|||
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
|
||||
|
@ -341,7 +341,7 @@ bool PSMarkSweep::invoke_no_policy(bool clear_all_softrefs) {
|
|||
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