From ea49c0f8ce7d1dc7442dc005bfda0fed7bd06025 Mon Sep 17 00:00:00 2001 From: bdemsky Date: Thu, 7 Jul 2011 03:53:06 +0000 Subject: [PATCH] last known issues...now waiting to test --- Robust/src/Runtime/bamboo/pmc_garbage.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Robust/src/Runtime/bamboo/pmc_garbage.c b/Robust/src/Runtime/bamboo/pmc_garbage.c index b0a39fdb..948268e4 100644 --- a/Robust/src/Runtime/bamboo/pmc_garbage.c +++ b/Robust/src/Runtime/bamboo/pmc_garbage.c @@ -40,24 +40,31 @@ void pmc_init() { } void gc(struct garbagelist *gl) { + tprintf("init\n"); pmc_init(); //mark live objects + tprintf("mark\n"); pmc_mark(gl); //count live objects per unit + tprintf("count\n"); pmc_count(); tmc_spin_barrier_wait(&pmc_heapptr->barrier); //divide up work + tprintf("divide\n"); if (BAMBOO_NUM_OF_CORE==STARTUPCORE) { pmc_processunits(); } tmc_spin_barrier_wait(&pmc_heapptr->barrier); //set up forwarding pointers + tprintf("forward\n"); pmc_doforward(); tmc_spin_barrier_wait(&pmc_heapptr->barrier); //update pointers + tprintf("updaterefs\n"); pmc_doreferenceupdate(); tmc_spin_barrier_wait(&pmc_heapptr->barrier); //compact data + tprintf("compact\n"); pmc_docompact(); tmc_spin_barrier_wait(&pmc_heapptr->barrier); } -- 2.34.1