}
void gc_master(struct garbagelist * stackptr) {
- tprintf("start GC !!!!!!!!!!!!! \n");
+ //tprintf("start GC !!!!!!!!!!!!! \n");
gc_status_info.gcprocessing = true;
gc_status_info.gcphase = INITPHASE;
master_finish();
GC_PRINTF("gc finished \n");
- tprintf("finish GC ! %d \n",gcflag);
+ //tprintf("finish GC ! %d \n",gcflag);
}
void pregccheck() {
// record lobj info
#define GCPROFILE_RECORD_LOBJ() \
{ \
- if(gc_profile_flag) { \
gc_num_lobj++; \
- } \
}
// record lobj space info
#define GCPROFILE_RECORD_LOBJSPACE() \
// record forward obj info
#define GCPROFILE_RECORD_FORWARD_OBJ() \
{ \
- if(gc_profile_flag) { \
gc_num_forwardobj++; \
- } \
}
// record live obj info
#define GCPROFILE_RECORD_LIVE_OBJ() \
{ \
- if(gc_profile_flag) { \
gc_num_liveobj++; \
- } \
}
#define GCPROFILE_START() \
{ \