projects
/
IRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ecbd520
)
bug fix....
author
bdemsky
<bdemsky>
Thu, 14 Jul 2011 22:35:46 +0000
(22:35 +0000)
committer
bdemsky
<bdemsky>
Thu, 14 Jul 2011 22:35:46 +0000
(22:35 +0000)
Robust/src/Runtime/bamboo/multicoregccompact.c
patch
|
blob
|
history
diff --git
a/Robust/src/Runtime/bamboo/multicoregccompact.c
b/Robust/src/Runtime/bamboo/multicoregccompact.c
index 893852155b36448225ed0a6d8b5e6846899d63af..75b0b3fc7d95e42cac9fa4d97759509befb3226d 100644
(file)
--- a/
Robust/src/Runtime/bamboo/multicoregccompact.c
+++ b/
Robust/src/Runtime/bamboo/multicoregccompact.c
@@
-307,7
+307,10
@@
void handleOneMemoryRequest(int core, unsigned int lowestblock) {
//taken care of one block
gcmovepending--;
void *startaddr=blockptr+usedspace;
//taken care of one block
gcmovepending--;
void *startaddr=blockptr+usedspace;
- if(BAMBOO_CHECK_SEND_MODE()) {
+ if (core==STARTUPCORE) {
+ gctomove=true;
+ gcmovestartaddr=startaddr;
+ } else if(BAMBOO_CHECK_SEND_MODE()) {
cache_msg_2_I(core,GCMOVESTART,startaddr);
} else {
send_msg_2_I(core,GCMOVESTART,startaddr);
cache_msg_2_I(core,GCMOVESTART,startaddr);
} else {
send_msg_2_I(core,GCMOVESTART,startaddr);
@@
-560,7
+563,7
@@
void master_compact() {
// compact phase
compact();
/* wait for all cores to finish compacting */
// compact phase
compact();
/* wait for all cores to finish compacting */
-
+ GC_PRINTF("master finished\n");
while(!gc_checkCoreStatus())
;
while(!gc_checkCoreStatus())
;