[cvs] / jsr166 / src / main / java / util / concurrent / LinkedTransferQueue.java Repository:
ViewVC logotype

Diff of /jsr166/src/main/java/util/concurrent/LinkedTransferQueue.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.80, Sun Jan 4 09:15:11 2015 UTC revision 1.81, Wed Feb 18 06:39:40 2015 UTC
# Line 793  Line 793 
793                      if (++count == Integer.MAX_VALUE)                      if (++count == Integer.MAX_VALUE)
794                          break;  // @see Collection.size()                          break;  // @see Collection.size()
795                  }                  }
796                  Node next = p.next;                  if (p == (p = p.next))
                 if (p == next)  
797                      continue restartFromHead;                      continue restartFromHead;
                 p = next;  
798              }              }
799              return count;              return count;
800          }          }

Legend:
Removed from v.1.80  
changed lines
  Added in v.1.81

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8