Re:Is reference counting slower than GC?
by JoachimSchipper on Tuesday May 24, 2016 @05:38AM
(#11760060)
Whether stores invalidate remote cachelines depends entirely on the architecture. But yes, Intel has fairly strong coherency.
It seems to me that any cache coherent system needs to do that. If multiple writers can be updating a cacheline a the same time [1] you can't talk of coherency at all. Intel is stronger as it guarantees a total ordering of modifications across all cachelines, but any coherent system will guarantee the ordering of modification of a single cacheline.
[1] visibly at least. HTM complicates things a bit of course.
Memory barrier (and atomic operations) don't have anything to do with it.