Mercurial > hg > graal-jvmci-8
diff graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/util/HashSetNodeEventListener.java @ 18743:220d7f242e57
use deterministic iteration-order data structures
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Sun, 21 Dec 2014 13:56:31 +1000 |
parents | 1518c3296cc8 |
children | 93c50cefb9e8 |
line wrap: on
line diff
--- a/graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/util/HashSetNodeEventListener.java Sun Dec 21 13:53:15 2014 +1000 +++ b/graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/util/HashSetNodeEventListener.java Sun Dec 21 13:56:31 2014 +1000 @@ -49,7 +49,7 @@ * filter. */ public HashSetNodeEventListener(Set<NodeEvent> filter) { - this.nodes = new HashSet<>(); + this.nodes = Node.newSet(); this.filter = filter; }