[concurrency-interest] Request for comment -- weakCompareAndSet specs

Pete Soper pete at soper.us
Tue May 30 20:02:31 EDT 2006


Doug Lea wrote:
> I edited the java.util.concurrent.atomic package docs to
> incorporate suggestions. See
> http://gee.cs.oswego.edu/dl/jsr166/dist/docs/java/util/concurrent/atomic/package-summary.html
>
> You can see diffs most easily as using viewcvs:
> http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/main/java/util/concurrent/atomic/package.html
>
> I also summarized this in each AtomicX.weakCompareAndSet method
> javadoc, as:
>       * May fail spuriously and does not provide ordering guarantees,
>       * so is only rarely an appropriate alternative to <tt>compareAndSet</tt>.
>
> These are candidate changes for mustang bug 6425639
>    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6425639
>
>   
Missed this before sending what I did, sorry.

-Pete


More information about the Concurrency-interest mailing list