[concurrency-interest] Suggestion: .hardGet() for atomicvariables

Vitaly Davidovich vitalyd at gmail.com
Mon Jan 23 12:10:05 EST 2012


http://mechanical-sympathy.blogspot.com/2011/09/adventures-with-atomiclong.html

Sent from my phone
On Jan 23, 2012 11:21 AM, "Ruslan Cheremin" <cheremin at gmail.com> wrote:

> I can remember some blog post (by Dave Dice, if my memory is correct),
> in which this improvement was discussed. And benchmarks, presented
> where, shown rather little improvement -- like 15%, or something about
> it. Do you have another values for performance improvement?
>
> 2012/1/23 Ismael Juma <mlists at juma.me.uk>:
> > Hi Nathan,
> >
> > On Mon, Jan 23, 2012 at 3:55 PM, Nathan Reynolds
> > <nathan.reynolds at oracle.com> wrote:
> >>
> >> There is an enhancement request to make getAndAdd a compiler intrinsic
> on
> >> x86.  The method would be replaced with "lock xadd".
> >
> >
> > This has been discussed a few times. Do you have any idea if this will be
> > implemented in the near future?
> >
> > Best,
> > Ismael
> >
> > _______________________________________________
> > Concurrency-interest mailing list
> > Concurrency-interest at cs.oswego.edu
> > http://cs.oswego.edu/mailman/listinfo/concurrency-interest
> >
>
> _______________________________________________
> Concurrency-interest mailing list
> Concurrency-interest at cs.oswego.edu
> http://cs.oswego.edu/mailman/listinfo/concurrency-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cs.oswego.edu/pipermail/concurrency-interest/attachments/20120123/9f26bee4/attachment.html>


More information about the Concurrency-interest mailing list