From: bdemsky Date: Wed, 6 Jul 2011 00:11:15 +0000 (+0000) Subject: more changes X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f9b4aecb3bad22ec1f0ccdb622edc410cdadbd2c;p=IRC.git more changes --- diff --git a/Robust/src/Runtime/bamboo/pmc_forward.h b/Robust/src/Runtime/bamboo/pmc_forward.h index 418ce983..c8514792 100644 --- a/Robust/src/Runtime/bamboo/pmc_forward.h +++ b/Robust/src/Runtime/bamboo/pmc_forward.h @@ -2,8 +2,11 @@ #define PMC_FORWARD_H #include "pmc_garbage.h" -void pmc_countbytes(struct pmc_unit * region, void *bottomptr, void *topptr); +void pmc_count(); +void pmc_countbytes(struct pmc_unit * region, void *bottomptr, void *topptr); +void pmc_processunits(); +void pmc_doforward(); void pmc_forward(unsigned int totalbytes, void *bottomptr, void *topptr, bool fwddirection); diff --git a/Robust/src/Runtime/bamboo/pmc_garbage.h b/Robust/src/Runtime/bamboo/pmc_garbage.h index 3158dcb0..58c0c065 100644 --- a/Robust/src/Runtime/bamboo/pmc_garbage.h +++ b/Robust/src/Runtime/bamboo/pmc_garbage.h @@ -33,6 +33,5 @@ void incrementthreads(); void decrementthreads(); void pmc_onceInit(); void pmc_init(); - - +void gc(struct garbagelist *gl); #endif diff --git a/Robust/src/Runtime/bamboo/pmc_mark.h b/Robust/src/Runtime/bamboo/pmc_mark.h index cb348ac3..2c1c8739 100644 --- a/Robust/src/Runtime/bamboo/pmc_mark.h +++ b/Robust/src/Runtime/bamboo/pmc_mark.h @@ -4,7 +4,8 @@ void pmc_markObj(struct ___Object___ *ptr); void pmc_scanPtrsInObj(void * ptr, int type); void pmc_mark(struct garbagelist *stackptr); +bool pmc_trysteal(); +void pmc_marklocal(); void pmc_tomark(struct garbagelist * stackptr); void pmc_markgarbagelist(struct garbagelist * listptr); - #endif diff --git a/Robust/src/Runtime/bamboo/pmc_refupdate.h b/Robust/src/Runtime/bamboo/pmc_refupdate.h index ccec1880..107b90ef 100644 --- a/Robust/src/Runtime/bamboo/pmc_refupdate.h +++ b/Robust/src/Runtime/bamboo/pmc_refupdate.h @@ -2,6 +2,8 @@ #define PMC_REFUPDATE_H void pmc_updatePtrs(void *ptr, int type); +void pmc_doreferenceupdate(); void pmc_referenceupdate(void *bottomptr, void *topptr); +void pmc_docompact(); void pmc_compact(struct pmc_region * region, int forward, void *bottomptr, void *topptr); #endif