From 5b30576a99f35abc4cd7480e5f0071880f20320f Mon Sep 17 00:00:00 2001 From: bdemsky Date: Tue, 28 Jun 2011 22:28:19 +0000 Subject: [PATCH] back out debug options --- Robust/src/Runtime/bamboo/multicoregarbage.h | 8 ++++---- Robust/src/Runtime/bamboo/multicoremem.h | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Robust/src/Runtime/bamboo/multicoregarbage.h b/Robust/src/Runtime/bamboo/multicoregarbage.h index 77d0bbb2..bdbd70f8 100644 --- a/Robust/src/Runtime/bamboo/multicoregarbage.h +++ b/Robust/src/Runtime/bamboo/multicoregarbage.h @@ -7,11 +7,11 @@ #include "structdefs.h" #include "multicoregcprofile.h" -//#ifdef GC_DEBUG +#ifdef GC_DEBUG #define GC_PRINTF tprintf -//#else -//#define GC_PRINTF if(0) tprintf -//#endif +#else +#define GC_PRINTF if(0) tprintf +#endif #define TR() tprintf("%u\n",__LINE__) diff --git a/Robust/src/Runtime/bamboo/multicoremem.h b/Robust/src/Runtime/bamboo/multicoremem.h index 6767354b..a307c24d 100644 --- a/Robust/src/Runtime/bamboo/multicoremem.h +++ b/Robust/src/Runtime/bamboo/multicoremem.h @@ -42,7 +42,7 @@ #ifdef GC_LARGESHAREDHEAP #define BAMBOO_NUM_BLOCKS ((unsigned int)((GC_BAMBOO_NUMCORES)*(2+24))) #elif defined MGC -#define BAMBOO_NUM_BLOCKS ((unsigned int)((GC_BAMBOO_NUMCORES)*(3))) // 72M per core +#define BAMBOO_NUM_BLOCKS ((unsigned int)((GC_BAMBOO_NUMCORES)*(72))) // 72M per core #else #define BAMBOO_NUM_BLOCKS ((unsigned int)((GC_BAMBOO_NUMCORES)*(2+14))) #endif @@ -59,7 +59,7 @@ #define BAMBOO_PAGE_SIZE ((unsigned int)(4 * 64 * 1024)) // 64K #define BAMBOO_SMEM_SIZE ((unsigned int)(BAMBOO_PAGE_SIZE)) #elif defined MGC -#define BAMBOO_SMEM_SIZE ((unsigned int)(2*(BAMBOO_PAGE_SIZE))) // 1M +#define BAMBOO_SMEM_SIZE ((unsigned int)(16*(BAMBOO_PAGE_SIZE))) // 1M #else #define BAMBOO_SMEM_SIZE ((unsigned int)(4 * (BAMBOO_PAGE_SIZE))) #endif // GC_LARGEPAGESIZE @@ -69,7 +69,7 @@ #ifdef GC_LARGESHAREDHEAP #define BAMBOO_NUM_BLOCKS ((unsigned int)((GC_BAMBOO_NUMCORES)*(2+5))) #elif defined MGC -#define BAMBOO_NUM_BLOCKS ((unsigned int)((GC_BAMBOO_NUMCORES)*3)) // 72M per core +#define BAMBOO_NUM_BLOCKS ((unsigned int)((GC_BAMBOO_NUMCORES)*72)) // 72M per core #else #define BAMBOO_NUM_BLOCKS ((unsigned int)((GC_BAMBOO_NUMCORES)*(2+2))) //(15 * 1024) //(64 * 4 * 0.75) //(1024 * 1024 * 3.5) 3G #endif -- 2.34.1