[concurrency-interest] AtomicReferenceFieldUpdater vs Unsafe

Martin Buchholz martinrb at google.com
Thu Nov 17 23:38:10 EST 2011

On Thu, Nov 17, 2011 at 05:47, Rémi Forax <forax at univ-mlv.fr> wrote:

> I beleive that you can create a safe MethodHandle that will do a CAS
> with an extra cost of a pointer comparison at runtime compared
> with the unsafe compareAndSet.

It's good to know that it's possible.  So what's stopping us?

- the maintainers are unfamiliar with MethodHandle (especially with getting
the security details right).
- we'd like to keep supporting jdk6 and don't want to fork our code base
... yet.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cs.oswego.edu/pipermail/concurrency-interest/attachments/20111117/2fecb224/attachment.html>

More information about the Concurrency-interest mailing list