[Doug] > I am surprised that you did not compare LongAdder, that uses CAS failures to guide contention-spreading that is usually much more effective than backoff. On the other hand it cannot be used when you need the atomic value of the "get".
Exactly, I was only comparing "atomic" API, and LongAdder while being fast can only be used for counting and not for concurrency control.
Thank you for the more detailed explanation!
On Mon, 28 Jan 2019 at 05:39, <[hidden email]> wrote:
Send Concurrency-interest mailing list submissions to
Concurrency-interest mailing list
|Free forum by Nabble||Edit this page|