diff graal/com.oracle.graal.graph/src/com/oracle/graal/graph/Graph.java @ 12700:4b053442b9d1

Do not compress graph when debug is enabled
author Gilles Duboscq <duboscq@ssw.jku.at>
date Wed, 06 Nov 2013 16:41:07 +0100
parents 43301f080126
children 3f1c70baa3bd
line wrap: on
line diff
--- a/graal/com.oracle.graal.graph/src/com/oracle/graal/graph/Graph.java	Wed Nov 06 14:53:31 2013 +0100
+++ b/graal/com.oracle.graal.graph/src/com/oracle/graal/graph/Graph.java	Wed Nov 06 16:41:07 2013 +0100
@@ -580,6 +580,9 @@
      * ordering between the nodes within the list.
      */
     public boolean maybeCompress() {
+        if (Debug.isEnabled()) {
+            return false;
+        }
         int liveNodeCount = getNodeCount();
         int liveNodePercent = liveNodeCount * 100 / nodesSize;
         if (COMPRESSION_THRESHOLD == 0 || liveNodePercent >= COMPRESSION_THRESHOLD) {