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

Comparing jsr166/src/main/java/util/concurrent/ConcurrentLinkedQueue.java (file contents):
Revision 1.144 by jsr166, Mon Jan 2 00:10:14 2017 UTC vs.
Revision 1.145 by jsr166, Tue Jan 3 04:33:57 2017 UTC

# Line 434 | Line 434 | public class ConcurrentLinkedQueue<E> ex
434                  q = p.next;
435                  if (item != null || c != p) {
436                      pred = p;
437 <                    p = c = q;
437 >                    c = p = q;
438                  }
439                  else if (p == (p = q))
440                      continue restartFromHead;
# Line 470 | Line 470 | public class ConcurrentLinkedQueue<E> ex
470                  q = p.next;
471                  if (item != null || c != p) {
472                      pred = p;
473 <                    p = c = q;
473 >                    c = p = q;
474                  }
475                  else if (p == (p = q))
476                      continue restartFromHead;
# Line 978 | Line 978 | public class ConcurrentLinkedQueue<E> ex
978              q = p.next;
979              if (pAlive || c != p) {
980                  pred = p;
981 <                p = c = q;
981 >                c = p = q;
982              }
983              else if (p == (p = q)) {
984                  pred = null;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines