projects
/
IRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
25d2792
)
Missing changes
author
jzhou
<jzhou>
Wed, 20 Jul 2011 21:30:28 +0000
(21:30 +0000)
committer
jzhou
<jzhou>
Wed, 20 Jul 2011 21:30:28 +0000
(21:30 +0000)
Robust/src/Runtime/bamboo/multicorecache.c
patch
|
blob
|
history
diff --git
a/Robust/src/Runtime/bamboo/multicorecache.c
b/Robust/src/Runtime/bamboo/multicorecache.c
index 52a725a715f6a35732e940e956af1e924fbc1a6f..6c41b9f49adfecd46f5d7cee91c04dfd12fb7c66 100644
(file)
--- 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
#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();
// 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)
#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
#elif defined(GC_CACHE_ADAPT_POLICY4)
cacheAdapt_policy_dominate(coren);
#endif