}
// Obj uses
Map<Identity, Long> tempMap = new HashMap<Identity, Long>();
if (node == NODE1) {
// Update edges
graph.addEdge(new WeightedEdge(), nodes[4], nodes[1]);
graph.addEdge(new WeightedEdge(), nodes[7], nodes[1]);
graph.addEdge(new WeightedEdge(), nodes[13], nodes[1]);
graph.addEdge(new WeightedEdge(), nodes[13], nodes[4]);
graph.addEdge(new WeightedEdge(), nodes[22], nodes[1]);
graph.addEdge(new WeightedEdge(), nodes[28], nodes[25]);
graph.addEdge(new WeightedEdge(), nodes[34], nodes[10]);
graph.addEdge(new WeightedEdge(), nodes[34], nodes[16]);
graph.addEdge(new WeightedEdge(), nodes[34], nodes[19]);
graph.addEdge(new WeightedEdge(), nodes[34], nodes[28]);
graph.addEdge(new WeightedEdge(), nodes[34], nodes[31]);
// Obj uses
tempMap.put(idents[1], 1L);
tempMap.put(idents[4], 4L);
objUseMap.put("o1", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[1], 1L);
tempMap.put(idents[7], 1L);
objUseMap.put("o2", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[1], 1L);
objUseMap.put("o3", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[7], 1L);
objUseMap.put("o4", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[1], 1L);
objUseMap.put("o5", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[1], 1L);
objUseMap.put("o84", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[4], 1L);
objUseMap.put("o87", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[10], 1L);
objUseMap.put("o7", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[1], 1L);
objUseMap.put("o8", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[1], 1L);
objUseMap.put("o11", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[1], 1L);
tempMap.put(idents[13], 1L);
objUseMap.put("o12", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[4], 1L);
tempMap.put(idents[13], 1L);
objUseMap.put("o13", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[7], 1L);
objUseMap.put("o15", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[1], 1L);
objUseMap.put("o16", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[1], 1L);
objUseMap.put("o18", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[22], 1L);
tempMap.put(idents[1], 1L);
objUseMap.put("o20", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[22], 1L);
objUseMap.put("o21", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[25], 1L);
objUseMap.put("o23", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[28], 1L);
objUseMap.put("o24", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[28], 1L);
objUseMap.put("o25", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[28], 1L);
tempMap.put(idents[25], 1L);
objUseMap.put("o26", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[31], 1L);
objUseMap.put("o30", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[31], 1L);
tempMap.put(idents[34], 1L);
objUseMap.put("o31", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[1], 1L);
objUseMap.put("o32", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[16], 1L);
objUseMap.put("o35", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[19], 1L);
objUseMap.put("o36", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[34], 1L);
tempMap.put(idents[10], 1L);
objUseMap.put("o40", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[34], 1L);
objUseMap.put("o41", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[34], 1L);
objUseMap.put("o42", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[34], 1L);
tempMap.put(idents[16], 1L);
objUseMap.put("o43", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[34], 1L);
tempMap.put(idents[19], 1L);
objUseMap.put("o44", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[34], 1L);
objUseMap.put("o45", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[34], 1L);
objUseMap.put("o46", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[34], 1L);
objUseMap.put("o47", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[34], 1L);
objUseMap.put("o48", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[34], 1L);
objUseMap.put("o49", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[34], 1L);
tempMap.put(idents[28], 1L);
objUseMap.put("o50", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[34], 1L);
objUseMap.put("o51", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[34], 1L);
objUseMap.put("o52", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[34], 1L);
objUseMap.put("o53", tempMap);
// conflicts - data cache evictions due to conflict
// just guessing
HashMap<Object, Long> conflict = new HashMap<Object, Long>();;
conflict.put("o1", 1L);
conflict.put("o2", 1L);
conflict.put("o18", 1L);
conflict.put("o21", 1L);
conflict.put("o41", 1L);
conflict.put("o45", 1L);
conflict.put("o47", 1L);
conflictMap.put(NODE2, conflict);
conflict = new HashMap<Object, Long>();
conflict.put("o1", 1L);
conflict.put("o5", 1L);
conflict.put("o7", 1L);
conflict.put("o11", 1L);
conflict.put("o31", 1L);
conflict.put("o35", 1L);
conflict.put("o36", 1L);
conflict.put("o42", 1L);
conflict.put("o46", 1L);
conflict.put("o48", 1L);
conflict.put("o49", 1L);
conflictMap.put(NODE3, conflict);
} else if (node == NODE2) {
graph.addEdge(new WeightedEdge(), nodes[8], nodes[2]);
graph.addEdge(new WeightedEdge(), nodes[11], nodes[5]);
graph.addEdge(new WeightedEdge(), nodes[14], nodes[2]);
graph.addEdge(new WeightedEdge(), nodes[20], nodes[2]);
graph.addEdge(new WeightedEdge(), nodes[32], nodes[26]);
graph.addEdge(new WeightedEdge(), nodes[32], nodes[29]);
// Obj uses
tempMap.put(idents[2], 1L);
tempMap.put(idents[8], 1L);
objUseMap.put("o1", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[14], 1L);
objUseMap.put("o84", tempMap);
tempMap.put(idents[2], 1L);
tempMap.put(idents[14], 1L);
objUseMap.put("o85", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[14], 1L);
objUseMap.put("o86", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[14], 1L);
objUseMap.put("o87", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[5], 1L);
objUseMap.put("o2", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[11], 1L);
objUseMap.put("o8", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[11], 1L);
tempMap.put(idents[5], 1L);
objUseMap.put("o9", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[11], 1L);
objUseMap.put("o10", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[17], 1L);
objUseMap.put("o14", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[17], 1L);
objUseMap.put("o15", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[2], 1L);
objUseMap.put("o17", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[20], 1L);
objUseMap.put("o18", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[20], 1L);
tempMap.put(idents[2], 1L);
objUseMap.put("o19", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[2], 1L);
objUseMap.put("o21", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[26], 1L);
objUseMap.put("o22", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[26], 1L);
tempMap.put(idents[32], 1L);
objUseMap.put("o23", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[29], 1L);
objUseMap.put("o27", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[2], 1L);
objUseMap.put("o30", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[32], 1L);
tempMap.put(idents[29], 1L);
objUseMap.put("o66", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[32], 1L);
objUseMap.put("o32", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[23], 1L);
objUseMap.put("o38", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[32], 1L);
objUseMap.put("o39", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[14], 1L);
objUseMap.put("o41", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[20], 1L);
objUseMap.put("o45", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[23], 1L);
objUseMap.put("o47", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[29], 1L);
objUseMap.put("o51", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[32], 1L);
objUseMap.put("o53", tempMap);
// conflicts - data cache evictions due to conflict
// just guessing
HashMap<Object, Long> conflict = new HashMap<Object, Long>();
conflict.put("o2", 1L);
conflict.put("o8", 1L);
conflict.put("o15", 1L);
conflict.put("o23", 1L);
conflict.put("o30", 1L);
conflict.put("o32", 1L);
conflict.put("o51", 1L);
conflict.put("o53", 1L);
conflict.put("o84", 1L);
conflict.put("o87", 1L);
conflictMap.put(NODE1, conflict);
conflict = new HashMap<Object, Long>();
conflict.put("o1", 1L);
conflict.put("o10", 1L);
conflict.put("o14", 1L);
conflict.put("o22", 1L);
conflict.put("o86", 1L);
conflictMap.put(NODE3, conflict);
} else if (node == NODE3) {
graph.addEdge(new WeightedEdge(), nodes[9], nodes[3]);
graph.addEdge(new WeightedEdge(), nodes[30], nodes[24]);
graph.addEdge(new WeightedEdge(), nodes[30], nodes[27]);
graph.addEdge(new WeightedEdge(), nodes[33], nodes[3]);
graph.addEdge(new WeightedEdge(), nodes[33], nodes[9]);
graph.addEdge(new WeightedEdge(), nodes[33], nodes[15]);
graph.addEdge(new WeightedEdge(), nodes[33], nodes[21]);
graph.addEdge(new WeightedEdge(), nodes[33], nodes[24]);
graph.addEdge(new WeightedEdge(), nodes[33], nodes[30]);
tempMap.put(idents[3], 1L);
objUseMap.put("o1", tempMap);
tempMap = new HashMap<Identity, Long>();
tempMap.put(idents[3], 1L);