bug fixes
authorbdemsky <bdemsky>
Fri, 22 Jul 2011 07:40:53 +0000 (07:40 +0000)
committerbdemsky <bdemsky>
Fri, 22 Jul 2011 07:40:53 +0000 (07:40 +0000)
Robust/src/Runtime/bamboo/multicoregarbage.c
Robust/src/Runtime/bamboo/multicoreruntime.c

index 90493563666cdf2d3ee66b467408e61613a76341..9664ce5abb05ee43ce625a330ba6eec32d3a04a9 100644 (file)
@@ -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();
index 9b0db4319972004809d8fc0281c5b131989cba80..039ca11e6c7235f5702955da70aa4d7bc5a6a916 100644 (file)
@@ -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);
         }
       }
     }