[concurrency-interest] Asynchronous-nature of ConcurrentLinkedQueue

Kai Meder stuff at kai.meder.info
Wed May 19 17:44:08 EDT 2010


> With two GC threads, the coherence misses had two effects:
>
> 1) The collector ran at around half speed, negating any parallel speedup.
> 2) The count was typically off by a factor of two.  I suspect that as
a result
> of the regular misses, the timing almost always worked out such that a
store
> took place between a load and a store in the other thread, losing half
the counts.

Interesting observation, thanks for mentioning.


More information about the Concurrency-interest mailing list