From: bdemsky Date: Fri, 22 Jul 2011 07:40:53 +0000 (+0000) Subject: bug fixes X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=de92a819c9de0eaf7fdc5d39726451cc5c6e4ddf;p=IRC.git bug fixes --- diff --git a/Robust/src/Runtime/bamboo/multicoregarbage.c b/Robust/src/Runtime/bamboo/multicoregarbage.c index 90493563..9664ce5a 100644 --- a/Robust/src/Runtime/bamboo/multicoregarbage.c +++ b/Robust/src/Runtime/bamboo/multicoregarbage.c @@ -439,11 +439,12 @@ void gc_master(struct garbagelist * stackptr) { tprintf("start GC!\n"); gc_status_info.gcprocessing = true; gc_status_info.gcphase = INITPHASE; + initGC(); + GC_SEND_MSG_1_TO_CLIENT(GCSTARTINIT); waitconfirm = false; numconfirm = 0; - initGC(); CACHEADAPT_GC(true); //tprintf("Check core status \n"); GC_CHECK_ALL_CORE_STATUS(); diff --git a/Robust/src/Runtime/bamboo/multicoreruntime.c b/Robust/src/Runtime/bamboo/multicoreruntime.c index 9b0db431..039ca11e 100644 --- a/Robust/src/Runtime/bamboo/multicoreruntime.c +++ b/Robust/src/Runtime/bamboo/multicoreruntime.c @@ -371,7 +371,7 @@ void CALL00(___System______gc____) { } for(int i = 0; i < NUMCORES4GC; i++) { if(i != STARTUPCORE) { - send_msg_1_I(i,GCSTARTPRE); + send_msg_1(i,GCSTARTPRE); } } }