From 8a73c60c65791ecd5713428df168aaa8dd2476b9 Mon Sep 17 00:00:00 2001 From: bdemsky Date: Sun, 3 Jul 2011 23:56:35 +0000 Subject: [PATCH] changes --- Robust/src/Runtime/bamboo/multicoreruntime.c | 24 +------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/Robust/src/Runtime/bamboo/multicoreruntime.c b/Robust/src/Runtime/bamboo/multicoreruntime.c index 52ebbad4..fabca9f2 100644 --- a/Robust/src/Runtime/bamboo/multicoreruntime.c +++ b/Robust/src/Runtime/bamboo/multicoreruntime.c @@ -344,6 +344,7 @@ void CALL00(___System______resetgcprofileflag____) { } #endif +#ifdef D___System______gc____ void CALL00(___System______gc____) { #ifdef MULTICORE_GC if(BAMBOO_NUM_OF_CORE == STARTUPCORE) { @@ -367,30 +368,7 @@ void CALL00(___System______gc____) { } #endif } - -void CALL00(___System______gc____) { -#ifdef MULTICORE_GC - if(BAMBOO_NUM_OF_CORE == STARTUPCORE) { - if(!gc_status_info.gcprocessing && !gcflag) { - gcflag = true; - gcprecheck = true; - for(int i = 0; i < NUMCORESACTIVE; i++) { - // reuse the gcnumsendobjs & gcnumreceiveobjs - gcnumsendobjs[0][i] = 0; - gcnumreceiveobjs[0][i] = 0; - } - for(int i = 0; i < NUMCORES4GC; i++) { - if(i != STARTUPCORE) { - send_msg_1_I(i,GCSTARTPRE); - } - } - } - } else { - // send msg to the startup core to start gc - send_msg_1(STARTUPCORE, GCINVOKE); - } #endif -} #ifdef D___System______printString____L___String___ void CALL01(___System______printString____L___String___, struct ___String___ * ___s___) { -- 2.34.1