Posted in

Go原子操作比mutex快?不一定!在cache line false sharing场景下,atomic.StoreUint64性能反降40%,实测对比与内存对齐修复方案

第一章:Go原子操作比mutex … Go原子操作比mutex快?不一定!在cache line false sharing场景下,atomic.StoreUint64性能反降40%,实测对比与内存对齐修复方案Read more