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
--- 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:");