Restructure the shared memory allocation and fixed multiple bugs in the multicore...
authorjzhou <jzhou>
Tue, 27 Oct 2009 20:24:04 +0000 (20:24 +0000)
committerjzhou <jzhou>
Tue, 27 Oct 2009 20:24:04 +0000 (20:24 +0000)
commite542673fc665c67c596b1826da046c56e692fb65
tree259c114bb856c31d11556e364f0950577aa2b07c
parentdc480919319111a7ed5b67bff3881a04b7bd4058
Restructure the shared memory allocation and fixed multiple bugs in the multicore gc. Now the startegy of shared memory allocation can be configurable as 1) each core can only use its local memory 2) use local memory for lower address space while use global memory for higher address space or 3) all cores allocate globally. The simplest test case can now go through several round of gc correctly. Still need more tests. Also organized the codes a little bit.
Robust/src/Runtime/multicoregarbage.c
Robust/src/Runtime/multicoregarbage.h
Robust/src/Runtime/multicoreruntime.h
Robust/src/Runtime/multicoretask.c
Robust/src/Runtime/runtime.h
Robust/src/buildscript