From: bdemsky Date: Mon, 2 Feb 2009 10:13:30 +0000 (+0000) Subject: changes X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6c70216bbc123631350004513d1ffb07b859b8c6;p=IRC.git changes --- diff --git a/Robust/src/Runtime/garbage.c b/Robust/src/Runtime/garbage.c index bad83e8f..b8ff45ac 100644 --- a/Robust/src/Runtime/garbage.c +++ b/Robust/src/Runtime/garbage.c @@ -19,7 +19,7 @@ #define NUMPTRS 100 -#define INITIALHEAPSIZE 8192*1024 +#define INITIALHEAPSIZE 32*1024*1024 #define GCPOINT(x) ((int)((x)*0.9)) /* This define takes in how full the heap is initially and returns a new heap size to use */ #define HEAPSIZE(x,y) (((int)((x)/0.6))+y) @@ -221,6 +221,7 @@ void collect(struct garbagelist * stackptr) { } } +#ifndef FASTCHECK if (forward!=NULL) { struct cnode * ptr=forward->listhead; while(ptr!=NULL) { @@ -239,6 +240,7 @@ void collect(struct garbagelist * stackptr) { ptr=ptr->lnext; } } +#endif { struct RuntimeNode * ptr=fdtoobject->listhead; diff --git a/Robust/src/Runtime/thread.c b/Robust/src/Runtime/thread.c index 83b0746e..aa5fbadc 100644 --- a/Robust/src/Runtime/thread.c +++ b/Robust/src/Runtime/thread.c @@ -152,7 +152,6 @@ void CALL01(___Thread______join____, struct ___Thread___ * ___this___) { transrecord_t *trans; objheader_t *ptr; /* Add transaction to check if thread finished for join operation */ - goto transstart; transstart: trans = transStart(); ptr = transRead(trans, (unsigned int) VAR(___this___));