mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +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
|
@ -138,8 +138,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();
|
||||
Universe::verify(" VerifyBeforeGC:");
|
||||
}
|
||||
|
||||
// Verify object start arrays
|
||||
|
@ -341,8 +340,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();
|
||||
Universe::verify(" VerifyAfterGC:");
|
||||
}
|
||||
|
||||
// Re-verify object start arrays
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue