From: jzhou Date: Thu, 5 May 2011 17:17:06 +0000 (+0000) Subject: A small bug X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=499f2f4f0f9db166b376bf2e5f8c6c180a90a3dd;p=IRC.git A small bug --- diff --git a/Robust/src/Runtime/bamboo/multicoregarbage.c b/Robust/src/Runtime/bamboo/multicoregarbage.c index 4aeaa245..f228ca76 100644 --- a/Robust/src/Runtime/bamboo/multicoregarbage.c +++ b/Robust/src/Runtime/bamboo/multicoregarbage.c @@ -920,7 +920,7 @@ INLINE void gc_master(struct garbagelist * stackptr) { bamboo_smem_size = 0; bamboo_smem_zero_top = NULL; - GCPROFILE_ITEM(); + GCPROFILE_END(); gcflag = false; GC_SEND_MSG_1_TO_CLIENT(GCFINISH); diff --git a/Robust/src/Runtime/bamboo/multicoregcprofile.h b/Robust/src/Runtime/bamboo/multicoregcprofile.h index 5cb5f0c7..53d8f7d3 100644 --- a/Robust/src/Runtime/bamboo/multicoregcprofile.h +++ b/Robust/src/Runtime/bamboo/multicoregcprofile.h @@ -52,6 +52,7 @@ void gc_outputProfileData(); }\ gc_num_obj = 0; \ } + #ifdef MGC_SPEC // record lobj info #define GCPROFILE_RECORD_LOBJ() \