From 499f2f4f0f9db166b376bf2e5f8c6c180a90a3dd Mon Sep 17 00:00:00 2001 From: jzhou Date: Thu, 5 May 2011 17:17:06 +0000 Subject: [PATCH] A small bug --- Robust/src/Runtime/bamboo/multicoregarbage.c | 2 +- Robust/src/Runtime/bamboo/multicoregcprofile.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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() \ -- 2.34.1