3 ms·
If the refcount is allocated in the same cacheline with the rest of the object, then false sharing is also a problem. But the violation of the single writer pri
by gpderetta 10y ago
If the refcount is allocated in the same cacheline with the rest of the object, then false sharing is also a problem. But the violation of the single writer principle when updating refcounts is actually a form of true sharing.