[concurrency-interest] AtomicReferenceFieldUpdater vs Unsafe
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Concurrency-interest