From: bdemsky Date: Thu, 14 Jul 2011 22:35:46 +0000 (+0000) Subject: bug fix.... X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=a0d257db0a5d9e4c152dacb6fedac65a59c3f394;p=IRC.git bug fix.... --- diff --git a/Robust/src/Runtime/bamboo/multicoregccompact.c b/Robust/src/Runtime/bamboo/multicoregccompact.c index 89385215..75b0b3fc 100644 --- a/Robust/src/Runtime/bamboo/multicoregccompact.c +++ b/Robust/src/Runtime/bamboo/multicoregccompact.c @@ -307,7 +307,10 @@ void handleOneMemoryRequest(int core, unsigned int lowestblock) { //taken care of one block gcmovepending--; void *startaddr=blockptr+usedspace; - if(BAMBOO_CHECK_SEND_MODE()) { + if (core==STARTUPCORE) { + gctomove=true; + gcmovestartaddr=startaddr; + } else if(BAMBOO_CHECK_SEND_MODE()) { cache_msg_2_I(core,GCMOVESTART,startaddr); } else { send_msg_2_I(core,GCMOVESTART,startaddr); @@ -560,7 +563,7 @@ void master_compact() { // compact phase compact(); /* wait for all cores to finish compacting */ - + GC_PRINTF("master finished\n"); while(!gc_checkCoreStatus()) ;