projects
/
IRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2a2235
)
changes
author
bdemsky
<bdemsky>
Mon, 2 Feb 2009 10:13:30 +0000
(10:13 +0000)
committer
bdemsky
<bdemsky>
Mon, 2 Feb 2009 10:13:30 +0000
(10:13 +0000)
Robust/src/Runtime/garbage.c
patch
|
blob
|
history
Robust/src/Runtime/thread.c
patch
|
blob
|
history
diff --git
a/Robust/src/Runtime/garbage.c
b/Robust/src/Runtime/garbage.c
index bad83e8f84e3399f5f872ce727195c43bbbb95da..b8ff45acefcb053f4eb92c4d81596aedf4a8b621 100644
(file)
--- 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 83b0746ee02bec2883691687b859cb13ce3a01c2..aa5fbadc35492da2e57e65df23341845528a8d80 100644
(file)
--- 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___));