changes
authorbdemsky <bdemsky>
Tue, 5 Aug 2008 22:03:21 +0000 (22:03 +0000)
committerbdemsky <bdemsky>
Tue, 5 Aug 2008 22:03:21 +0000 (22:03 +0000)
Robust/src/Analysis/Prefetch/PrefetchAnalysis.java

index 9adc148988887f42caf0c128e7ef63bea9a5a44e..abab858f0d6460434b3fca3bc81768786181b0b0 100644 (file)
@@ -732,7 +732,8 @@ public class PrefetchAnalysis {
        Hashtable<PrefetchPair, Double> tocompare = new Hashtable<PrefetchPair, Double>();
        
        /* Don't propagate prefetches across cache clear */
-       if (!curr.getMethod().getClassMethodName().equals("System.clearPrefetchCache")) {
+       if (!(curr.getMethod().getClassMethodName().equals("System.clearPrefetchCache")||
+             curr.getMethod().getClassMethodName().equals("Barrier.enterBarrier"))) {
        /* Propagate all child nodes */
        nexttemp:
        for(Enumeration e = child_prefetch_set_copy.keys(); e.hasMoreElements();) {