[concurrency-interest] backport: AtomicLongFieldUpdater support

Dawid Kurzyniec dawidk at mathcs.emory.edu
Wed Nov 30 16:51:51 EST 2005


Doug Lea wrote:

> Moran Or Avigdor wrote:
>
>> Are there any plans to support a backport version of 
>> java.util.concurrent.atomic.AtomicLongFieldUpdater ?
>> e.g. 
>> edu.emory.mathcs.backport.java.util.concurrent.atomic.AtomicLongFieldUpdater 
>>
>>
>
> While it would logically be possible to do this without
> Java 5 native support, it would be so pathetically slow that
> Dawid is doing you a big favor by not including them. :-)
>
Yep. It would have to use reflection combined with synchronization. Even 
despite improvements in reflection performance, this does not seem to be 
a viable option.

Regards,
Dawid



More information about the Concurrency-interest mailing list