ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/ConcurrentLinkedDeque.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/ConcurrentLinkedDeque.java (file contents):
Revision 1.19 by jsr166, Mon Oct 11 18:50:08 2010 UTC vs.
Revision 1.20 by jsr166, Tue Oct 12 05:30:34 2010 UTC

# Line 1145 | Line 1145 | public class ConcurrentLinkedDeque<E>
1145                      beginningOfTheEnd.lazySetPrev(p); // CAS piggyback
1146                      if (p.casNext(null, beginningOfTheEnd)) {
1147                          // Successful CAS is the linearization point
1148 <                        // for all elements to be added to this queue.
1148 >                        // for all elements to be added to this deque.
1149                          if (!casTail(t, last)) {
1150                              // Try a little harder to update tail,
1151                              // since we may be adding many elements.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines