JEP 155: Concurrency updates (jsr166e)
Doug Lea
dl at cs.oswego.edu
Mon Jun 18 23:27:31 UTC 2012
On 06/18/12 17:34, David M. Lloyd wrote:
> On 06/18/2012 04:12 PM, mark.reinhold at oracle.com wrote:
>> Posted: http://openjdk.java.net/jeps/155
>>
>> - Mark
>
> Might Doug's two-field atomic operations support idea possibly be a part of this
> (i.e. make it in time for Java 8)?
>
I think it is unlikely for JDK8. Doing this (basically 2CAS and
maybe 3CAS, 4CAS) well enough to release
would require more JVM intrinsics to handle the cases
mappable to instructions on recent/upcoming processros.
We can (slowly) emulate on others, but I don't think there
will be a long enough time window to coordinate for JDK8.
Stay tuned though for some variants of locks etc that
make some STM-ish usages easier. These ought to make it in
time (and so are alluded to in JEP).
-Doug
More information about the core-libs-dev
mailing list