mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +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
|
@ -447,8 +447,7 @@ void GenCollectedHeap::do_collection(bool full,
|
|||
prepare_for_verify();
|
||||
prepared_for_verification = true;
|
||||
}
|
||||
gclog_or_tty->print(" VerifyBeforeGC:");
|
||||
Universe::verify();
|
||||
Universe::verify(" VerifyBeforeGC:");
|
||||
}
|
||||
COMPILER2_PRESENT(DerivedPointerTable::clear());
|
||||
|
||||
|
@ -519,8 +518,7 @@ void GenCollectedHeap::do_collection(bool full,
|
|||
if (VerifyAfterGC && i >= VerifyGCLevel &&
|
||||
total_collections() >= VerifyGCStartAt) {
|
||||
HandleMark hm; // Discard invalid handles created during verification
|
||||
gclog_or_tty->print(" VerifyAfterGC:");
|
||||
Universe::verify();
|
||||
Universe::verify(" VerifyAfterGC:");
|
||||
}
|
||||
|
||||
if (PrintGCDetails) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue