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

Comparing jsr166/src/main/java/util/concurrent/LinkedTransferQueue.java (file contents):
Revision 1.132 by jsr166, Sun Jan 1 23:17:58 2017 UTC vs.
Revision 1.133 by jsr166, Mon Jan 2 00:10:14 2017 UTC

# Line 545 | Line 545 | public class LinkedTransferQueue<E> exte
545  
546      /**
547       * Tries to CAS pred.next (or head, if pred is null) from c to p.
548 +     * Caller must ensure that we're not unlinking the trailing node.
549       */
550      private boolean tryCasSuccessor(Node pred, Node c, Node p) {
551 +        // assert p != null;
552          // assert c != p;
553          if (pred != null)
554              return pred.casNext(c, p);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines