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

Ruslan Cheremin cheremin at gmail.com
Mon Jan 23 11:19:17 EST 2012


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
>



More information about the Concurrency-interest mailing list