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

Comparing jsr166/src/jsr166y/LinkedTransferQueue.java (file contents):
Revision 1.48 by dl, Thu Oct 22 14:33:40 2009 UTC vs.
Revision 1.49 by jsr166, Thu Oct 22 15:58:44 2009 UTC

# Line 142 | Line 142 | public class LinkedTransferQueue<E> exte
142       * that using very small constants in the range of 1-3 work best
143       * over a range of platforms. Larger values introduce increasing
144       * costs of cache misses and risks of long traversal chains, while
145 <     * smaller values increase CAS contentiona and overhead.
145 >     * smaller values increase CAS contention and overhead.
146       *
147       * Dual queues with slack differ from plain M&S dual queues by
148       * virtue of only sometimes updating head or tail pointers when
# Line 252 | Line 252 | public class LinkedTransferQueue<E> exte
252       * efficient explicit control paths instead of letting JVMs insert
253       * implicit NullPointerExceptions when they are null.  While not
254       * currently fully implemented, we also leave open the possibility
255 <     * of re-nulling these fields when empty (which is is complicated
256 <     * to arrange, for little benefit.)
255 >     * of re-nulling these fields when empty (which is complicated to
256 >     * arrange, for little benefit.)
257       *
258       * All enqueue/dequeue operations are handled by the single method
259       * "xfer" with parameters indicating whether to act as some form

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines