From 55f482b4e93e0e80cdb7eb2ee203b32992312b76 Mon Sep 17 00:00:00 2001 From: jzhou Date: Wed, 20 Jul 2011 21:30:28 +0000 Subject: [PATCH] Missing changes --- Robust/src/Runtime/bamboo/multicorecache.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Robust/src/Runtime/bamboo/multicorecache.c b/Robust/src/Runtime/bamboo/multicorecache.c index 52a725a7..6c41b9f4 100644 --- a/Robust/src/Runtime/bamboo/multicorecache.c +++ b/Robust/src/Runtime/bamboo/multicorecache.c @@ -106,7 +106,7 @@ void cacheAdapt_gc(bool isgccachestage) { #ifdef GC_CACHE_COHERENT_ON if(!isgccachestage) { // get out of GC -#if defined(GC_CACHE_ADAPT_POLICY3)&&defined(GC_CACHE_ADAPT_POLICY4) +#if (defined(GC_CACHE_ADAPT_POLICY4)||defined(GC_CACHE_ADAPT_POLICY3)) // flush the shared heap BAMBOO_CACHE_FLUSH_L2(); @@ -297,7 +297,7 @@ unsigned int cacheAdapt_decision(int coren) { #elif defined(GC_CACHE_ADAPT_POLICY2) //cacheAdapt_policy_local(coren); #elif defined(GC_CACHE_ADAPT_POLICY3) - //cacheAdapt_policy_hottest(coren); + cacheAdapt_policy_hottest(coren); #elif defined(GC_CACHE_ADAPT_POLICY4) cacheAdapt_policy_dominate(coren); #endif -- 2.34.1