start of new file
[IRC.git] / 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();) {