WAITFORGCPHASE(MARKPHASE);
GC_PRINTF("Start mark phase\n");
+ GCPROFILE_ITEM();
+
mark(stackptr);
GC_PRINTF("Finish mark phase, start compact phase\n");
compact();
GC_PRINTF("Do initGC\n");
initGC();
CACHEADAPT_GC(true);
+
//send init finish msg to core coordinator
send_msg_2(STARTUPCORE,GCFINISHINIT,BAMBOO_NUM_OF_CORE);
+
WAITFORGCPHASE(MARKPHASE);
GC_PRINTF("Start mark phase\n");
+ GCPROFILE_ITEM();
mark(stackptr);
GC_PRINTF("Finish mark phase, wait for update\n");
unsigned long long tmpt = BAMBOO_GET_EXE_TIME();
CACHEADAPT_OUTPUT_CACHE_SAMPLING();
gc_output_cache_policy_time += (BAMBOO_GET_EXE_TIME()-tmpt);
+ GCPROFILE_ITEM();
//tprintf("start mark phase\n");
// do mark phase
master_mark(stackptr);
#define GCINFOLENGTH 100
#ifdef GC_CACHE_ADAPT
-#define GC_PROFILE_NUM_FIELD 15
+#define GC_PROFILE_NUM_FIELD 20
#else
-#define GC_PROFILE_NUM_FIELD 14
+#define GC_PROFILE_NUM_FIELD 19
#endif // GC_CACHE_ADAPT
typedef struct gc_info {