Change the zero out strategy for the shared memory. Do not zero out all the shared...
authorjzhou <jzhou>
Thu, 8 Jul 2010 01:43:15 +0000 (01:43 +0000)
committerjzhou <jzhou>
Thu, 8 Jul 2010 01:43:15 +0000 (01:43 +0000)
commitc673696f2f9244c02a886b00565b41b0177463f3
tree79dc137cb4a84404b2d91f42c96d2a3507549089
parentc7acf7a7bdd3bc1f0eb8e7e56e5ad82cc6023145
Change the zero out strategy for the shared memory.  Do not zero out all the shared memory at a time.  Each core will zero out the share memory chunk allocated to it when it gets the chunk from the master core.  Therefore the zero out process is parallelized.  Also do not zero out the whole chunk, instead, zero out only 4KB at a time when necessary so that there will not be much flush of L2 cache.
Robust/src/Runtime/MGCHash.c
Robust/src/Runtime/multicoregarbage.c
Robust/src/Runtime/multicoreruntime.h
Robust/src/Runtime/multicoretask.c