changeset 10497:27654175e92a

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
author thartmann
date Thu, 17 Mar 2016 09:41:46 +0100
parents 3256d4204291
children 7c31312c5725
files src/share/vm/opto/reg_split.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/opto/reg_split.cpp	Wed Mar 16 10:45:43 2016 +0100
+++ b/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:");