mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8013132: Add a flag to turn off the output of the verbose verification code
Reviewed-by: johnc, brutisso
This commit is contained in:
parent
19d99e3d92
commit
f0ae855b07
15 changed files with 49 additions and 61 deletions
|
@ -966,8 +966,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();
|
||||
Universe::verify(" VerifyBeforeGC:");
|
||||
}
|
||||
|
||||
// Verify object start arrays
|
||||
|
@ -2168,8 +2167,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();
|
||||
Universe::verify(" VerifyAfterGC:");
|
||||
}
|
||||
|
||||
// Re-verify object start arrays
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue