Fix the 'markbit' bug of cache-adapt multicoregc version. In the compact phase,...
authorjzhou <jzhou>
Thu, 2 Sep 2010 18:57:58 +0000 (18:57 +0000)
committerjzhou <jzhou>
Thu, 2 Sep 2010 18:57:58 +0000 (18:57 +0000)
commit2d74ae51ec3fc0e90ccfa12cc3930674d20370e8
tree41bed710d4a958a252184b00ac19241eee931c04
parenta259b8eeddbcf764b17dd4a12700d0f7578f943a
Fix the 'markbit' bug of cache-adapt multicoregc version.  In the compact phase, some cores might need to move some local objects to some other remote cores.  There could be cache incoherent problem caused by the mark bit.  To fix it, in the mark phase, whenever the mark bit is changed, flush it to the main memory and after the mark phase is finished add a 'barrier' before starting the compact phase
Robust/src/Runtime/bamboo/multicoregarbage.c
Robust/src/Runtime/bamboo/multicoreruntime.h