add allocation depth to alias output file
authorjjenista <jjenista>
Thu, 4 Sep 2008 18:17:45 +0000 (18:17 +0000)
committerjjenista <jjenista>
Thu, 4 Sep 2008 18:17:45 +0000 (18:17 +0000)
Robust/src/Analysis/OwnershipAnalysis/OwnershipAnalysis.java

index 05a219761209fc191033de162298554b32058364..6eceedfee2c18d736e7880ccf812c0f93f927fe5 100644 (file)
@@ -70,13 +70,14 @@ public class OwnershipAnalysis {
 
     BufferedWriter bw = new BufferedWriter(new FileWriter(outputFile) );
 
+    bw.write("Conducting ownership analysis with allocation depth = "+allocationDepth);
+
     // look through every task for potential aliases
     Iterator taskItr = state.getTaskSymbolTable().getDescriptorsIterator();
     while( taskItr.hasNext() ) {
       TaskDescriptor td = (TaskDescriptor) taskItr.next();
 
       bw.write("\n---------"+td+"--------\n");
-      bw.flush();
 
       HashSet<AllocationSite> allocSites = getFlaggedAllocationSitesReachableFromTask(td);