8151882: -XX:+Verbose prints messages even if no other flag is set
authorthartmann
Thu, 17 Mar 2016 09:41:46 +0100
changeset 36797 5fda2abf35bb
parent 36796 c751f445f5d4
child 36799 982e1880e05e
8151882: -XX:+Verbose prints messages even if no other flag is set Summary: We should only print messages if PrintOpto && WizardMode is set. Reviewed-by: kvn, neliasso
hotspot/src/share/vm/opto/reg_split.cpp
--- a/hotspot/src/share/vm/opto/reg_split.cpp	Wed Mar 16 10:45:43 2016 +0100
+++ b/hotspot/src/share/vm/opto/reg_split.cpp	Thu Mar 17 09:41:46 2016 +0100
@@ -287,7 +287,7 @@
 Node* clone_node(Node* def, Block *b, Compile* C) {
   if (def->needs_anti_dependence_check()) {
 #ifdef ASSERT
-    if (Verbose) {
+    if (PrintOpto && WizardMode) {
       tty->print_cr("RA attempts to clone node with anti_dependence:");
       def->dump(-1); tty->cr();
       tty->print_cr("into block:");