[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.43, Fri Jun 3 02:28:05 2011 UTC revision 1.44, Fri Jun 3 14:17:10 2011 UTC
# Line 301  Line 301 
301       *    of less-contended queues.  During spins threads check their       *    of less-contended queues.  During spins threads check their
302       *    interrupt status and generate a thread-local random number       *    interrupt status and generate a thread-local random number
303       *    to decide to occasionally perform a Thread.yield. While       *    to decide to occasionally perform a Thread.yield. While
304       *    yield has underdefined specs, we assume that might it help,       *    yield has underdefined specs, we assume that it might help,
305       *    and will not hurt in limiting impact of spinning on busy       *    and will not hurt in limiting impact of spinning on busy
306       *    systems.  We also use smaller (1/2) spins for nodes that are       *    systems.  We also use smaller (1/2) spins for nodes that are
307       *    not known to be front but whose predecessors have not       *    not known to be front but whose predecessors have not

Legend:
Removed from v.1.43  
changed lines
  Added in v.1.44

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8