changeset 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 38b84d5a66fd
children 42a60780c2c9
files graal/com.oracle.graal.graph/src/com/oracle/graal/graph/Graph.java
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
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) {