as.setIthOldest(i, id);
mapHrnIdToAllocSite.put(id, as);
}
+ // the oldest node is a summary node
+ as.setSummary( generateUniqueHeapRegionNodeID() );
rg.age(as);
AllocSite allocSite;
if(type.equals(paramTypeDesc)){
+ //corresponding allocsite has already been created for a parameter variable.
allocSite=as;
}else{
allocSite = createParameterAllocSite(rg, td);
String strDesc = allocSite.toStringForDOT()
+ "\\nsummary";
HeapRegionNode hrnSummary =
- rg.createNewHeapRegionNode(null, // id or null to generate a new one
+ rg.createNewHeapRegionNode(allocSite.getSummary(), // id or null to generate a new one
false, // single object?
true, // summary?
false, // flagged?
}
}
}
- //debugSnapshot(rg, fm, true);
+// debugSnapshot(rg, fm, true);
return rg;
}