changeset 17264:324ab4ce5d43

reduce noise in CanonicalizerPhase log output
author Lukas Stadler <lukas.stadler@oracle.com>
date Tue, 30 Sep 2014 11:08:10 +0200
parents 9010170f942f
children 5c6c924abd49
files graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/CanonicalizerPhase.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/CanonicalizerPhase.java	Tue Sep 30 11:08:10 2014 +0200
+++ b/graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/CanonicalizerPhase.java	Tue Sep 30 11:08:10 2014 +0200
@@ -270,7 +270,7 @@
             }
 
             if (nodeClass.isSimplifiable()) {
-                Debug.log("Canonicalizer: simplifying %s", node);
+                Debug.log(3, "Canonicalizer: simplifying %s", node);
                 METRIC_SIMPLIFICATION_CONSIDERED_NODES.increment();
                 try (Scope s = Debug.scope("SimplifyNode", node)) {
                     node.simplify(tool);
@@ -300,7 +300,7 @@
 // @formatter:on
         private boolean performReplacement(final Node node, Node newCanonical) {
             if (newCanonical == node) {
-                Debug.log("Canonicalizer: work on %1s", node);
+                Debug.log(3, "Canonicalizer: work on %1s", node);
                 return false;
             } else {
                 Node canonical = newCanonical;