projects
/
IRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6c9db9
)
Config the size of the shared heap for TSP benchmark
author
jzhou
<jzhou>
Mon, 4 Oct 2010 18:10:44 +0000
(18:10 +0000)
committer
jzhou
<jzhou>
Mon, 4 Oct 2010 18:10:44 +0000
(18:10 +0000)
Robust/src/Runtime/bamboo/multicoreruntime.h
patch
|
blob
|
history
diff --git
a/Robust/src/Runtime/bamboo/multicoreruntime.h
b/Robust/src/Runtime/bamboo/multicoreruntime.h
index fb38a0f6a9c8e889157b4f3e957d96028cc3e330..6ee4784210b4bbc19c062b34f4e6fc52ffed991e 100644
(file)
--- a/
Robust/src/Runtime/bamboo/multicoreruntime.h
+++ b/
Robust/src/Runtime/bamboo/multicoreruntime.h
@@
-302,7
+302,11
@@
struct Queue * totransobjqueue; // queue to hold objs to be transferred
#define BAMBOO_SHARED_MEM_SIZE ((BAMBOO_SMEM_SIZE) *(BAMBOO_NUM_BLOCKS))
#elif defined GC_CACHE_ADAPT
+#ifdef GC_LARGESHAREDHEAP
+#define BAMBOO_NUM_BLOCKS ((GC_BAMBOO_NUMCORES)*(2+24))
+#else
#define BAMBOO_NUM_BLOCKS ((GC_BAMBOO_NUMCORES)*(2+14))
+#endif
#define BAMBOO_PAGE_SIZE (64 * 1024) // 64K
#ifdef GC_LARGEPAGESIZE
#define BAMBOO_PAGE_SIZE (4 * 64 * 1024)