Skip to content

Commit 238c51e

Browse files
enothumrobcasloz
authored andcommittedJun 16, 2023
8293069: Make -XX:+Verbose less verbose
Reviewed-by: thartmann, chagedorn
1 parent 8c9b85a commit 238c51e

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed
 

‎src/hotspot/share/ci/ciEnv.cpp

+1-7
Original file line numberDiff line numberDiff line change
@@ -1318,13 +1318,7 @@ void ciEnv::record_best_dyno_loc(const InstanceKlass* ik) {
13181318
return;
13191319
}
13201320
const char *loc0;
1321-
if (dyno_loc(ik, loc0)) {
1322-
// TODO: found multiple references, see if we can improve
1323-
if (Verbose) {
1324-
tty->print_cr("existing call site @ %s for %s",
1325-
loc0, ik->external_name());
1326-
}
1327-
} else {
1321+
if (!dyno_loc(ik, loc0)) {
13281322
set_dyno_loc(ik);
13291323
}
13301324
}

‎src/hotspot/share/opto/compile.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1931,7 +1931,7 @@ void Compile::process_for_unstable_if_traps(PhaseIterGVN& igvn) {
19311931
if (!live_locals.at(i) && !local->is_top() && local != lhs && local!= rhs) {
19321932
uint idx = jvms->locoff() + i;
19331933
#ifdef ASSERT
1934-
if (Verbose) {
1934+
if (PrintOpto && Verbose) {
19351935
tty->print("[unstable_if] kill local#%d: ", idx);
19361936
local->dump();
19371937
tty->cr();

‎src/hotspot/share/opto/doCall.cpp

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

0 commit comments

Comments
 (0)
Please sign in to comment.