# HG changeset patch # User Thomas Wuerthinger # Date 1308151197 -7200 # Node ID ca2d8e02711096f2554317043aad8b32804e0b06 # Parent c7ce8d00c33ff26c1f50ed5dc0acd0d11db18f00 Adjusted default capacity of predecessor and usage array. diff -r c7ce8d00c33f -r ca2d8e027110 graal/com.oracle.max.graal.graph/src/com/oracle/max/graal/graph/Node.java --- a/graal/com.oracle.max.graal.graph/src/com/oracle/max/graal/graph/Node.java Wed Jun 15 17:18:31 2011 +0200 +++ b/graal/com.oracle.max.graal.graph/src/com/oracle/max/graal/graph/Node.java Wed Jun 15 17:19:57 2011 +0200 @@ -46,8 +46,8 @@ this.id = graph.register(this); this.inputs = new NodeArray(this, inputCount); this.successors = new NodeArray(this, successorCount); - this.predecessors = new ArrayList(); - this.usages = new ArrayList(); + this.predecessors = new ArrayList(1); + this.usages = new ArrayList(4); } public List predecessors() {