摘要: 缓存行对齐:对于有些特别敏感的数字,会存在线程高竞争的访问,为了保证不发生伪共享,可是使用缓存行对齐的编程方式。 disruptor: public long p1,p2,p3,p4,p5,p6,p7 //cathe padding private volatile cursor = INITIAL 阅读全文
posted @ 2020-12-19 21:18 宝宝佩恩天道 阅读(510) 评论(0) 推荐(0)