# HG changeset patch # User Gilles Duboscq # Date 1383752467 -3600 # Node ID 4b053442b9d1c0b166b1247816034a38668d3c57 # Parent 38b84d5a66fd31d9bc3db3d8c46c43d07039b617 Do not compress graph when debug is enabled diff -r 38b84d5a66fd -r 4b053442b9d1 graal/com.oracle.graal.graph/src/com/oracle/graal/graph/Graph.java --- 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) {