Move the auxiliary tables our of the shared heap
[IRC.git] / Robust / src / Runtime / multicoretask.c
index 8ca658d7d2134b74713b5d12d6f867009aa0f17d..979a044a56a6ccbda0a0e5c52ca2d01203819304 100644 (file)
@@ -297,8 +297,8 @@ void initruntimedata() {
   BAMBOO_MEMSET_WH(gcrpointertbls,0,sizeof(mgcsharedhashtbl_t *)*NUMCORES4GC);
          //sizeof(struct RuntimeHash *)*NUMCORES4GC);
 #ifdef SMEMM
-  gcmem_mixed_threshold = 
-       (unsigned int)((BAMBOO_SHARED_MEM_SIZE-(gcbaseva-BAMBOO_BASE_VA))*0.8);
+  gcmem_mixed_threshold = (unsigned int)((BAMBOO_SHARED_MEM_SIZE
+               -bamboo_reserved_smem*BAMBOO_SMEM_SIZE)*0.8);
   gcmem_mixed_usedmem = 0;
 #endif
 #ifdef GC_PROFILE_S