[concurrency-interest] Here's why Atomic*FieldReference access checking is broken

Doug Lea dl at cs.oswego.edu
Wed Oct 8 07:19:48 EDT 2014


On 10/08/2014 05:38 AM, Peter Levart wrote:
>
> http://cr.openjdk.java.net/~plevart/jdk9-dev/AtomicFieldUpdater.AccessChecks/AnonClassPerCclass/AtomicIntegerFieldUpdater.java
>

Paul Sandoz has been working on VarHandles (like MethodHandles)
for similar purposes. Possibly even the same purposes.
See his JavaOne talk slides at
http://cr.openjdk.java.net/~psandoz/j1-2014-unsafe-CON5150.pdf
It seems worth waiting for more progress on this front before
contemplating changes along these lines.

-Doug





More information about the Concurrency-interest mailing list