8293069: Make -XX:+Verbose less verbose

Reviewed-by: thartmann, chagedorn
This commit is contained in:
Eric Nothum 2023-06-16 09:57:57 +00:00 committed by Roberto Castañeda Lozano
parent 8c9b85a990
commit 238c51e621
3 changed files with 3 additions and 9 deletions

View File

@ -1318,13 +1318,7 @@ void ciEnv::record_best_dyno_loc(const InstanceKlass* ik) {
return;
}
const char *loc0;
if (dyno_loc(ik, loc0)) {
// TODO: found multiple references, see if we can improve
if (Verbose) {
tty->print_cr("existing call site @ %s for %s",
loc0, ik->external_name());
}
} else {
if (!dyno_loc(ik, loc0)) {
set_dyno_loc(ik);
}
}

View File

@ -1931,7 +1931,7 @@ void Compile::process_for_unstable_if_traps(PhaseIterGVN& igvn) {
if (!live_locals.at(i) && !local->is_top() && local != lhs && local!= rhs) {
uint idx = jvms->locoff() + i;
#ifdef ASSERT
if (Verbose) {
if (PrintOpto && Verbose) {
tty->print("[unstable_if] kill local#%d: ", idx);
local->dump();
tty->cr();

View File

@ -854,7 +854,7 @@ void Parse::catch_call_exceptions(ciExceptionHandlerStream& handlers) {
#ifndef PRODUCT
// We do not expect the same handler bci to take both cold unloaded
// and hot loaded exceptions. But, watch for it.
if ((Verbose || WizardMode) && extype->is_loaded()) {
if (PrintOpto && (Verbose || WizardMode) && extype->is_loaded()) {
tty->print("Warning: Handler @%d takes mixed loaded/unloaded exceptions in ", bci());
method()->print_name(); tty->cr();
} else if (PrintOpto && (Verbose || WizardMode)) {