get rid of mfence instructions around atomic loads: not necessary on x86.
get rid of __sync_synchronize in gc_begin_epoch, since a LOCK instruction
acts as an mfence.
useful ref: http://www.cl.cam.ac.uk/~pes20/weakmemory/cacm.pdf
正在显示
请
注册
或者
登录
后发表评论