[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.126, Thu Dec 29 04:49:39 2016 UTC revision 1.127, Thu Dec 29 04:58:13 2016 UTC
# Line 196  Line 196 
196       * (Similar issues arise in non-GC environments.)  To cope with       * (Similar issues arise in non-GC environments.)  To cope with
197       * this in our implementation, upon CASing to advance the head       * this in our implementation, upon CASing to advance the head
198       * pointer, we set the "next" link of the previous head to point       * pointer, we set the "next" link of the previous head to point
199       * only to itself; thus limiting the length of connected dead lists.       * only to itself; thus limiting the length of chains of dead nodes.
200       * (We also take similar care to wipe out possibly garbage       * (We also take similar care to wipe out possibly garbage
201       * retaining values held in other Node fields.)  However, doing so       * retaining values held in other Node fields.)  However, doing so
202       * adds some further complexity to traversal: If any "next"       * adds some further complexity to traversal: If any "next"

Legend:
Removed from v.1.126  
changed lines
  Added in v.1.127

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8