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

Comparing jsr166/src/main/java/util/concurrent/Exchanger.java (file contents):
Revision 1.58 by jsr166, Fri Dec 23 21:17:36 2011 UTC vs.
Revision 1.59 by jsr166, Fri Dec 23 21:32:57 2011 UTC

# Line 236 | Line 236 | public class Exchanger<V> {
236       * than (1<<(31-ASHIFT)). The cap of 255 (0xff) more than suffices
237       * for the expected scaling limits of the main algorithms.
238       */
239 <    private static final int MMASK  = 0xff;
239 >    private static final int MMASK = 0xff;
240  
241      /**
242       * Unit for sequence/version bits of bound field. Each successful
243       * change to the bound also adds SEQ.
244       */
245 <    private static final int SEQ    = MMASK + 1;
245 >    private static final int SEQ = MMASK + 1;
246  
247      /** The number of CPUs, for sizing and spin control */
248      private static final int NCPU = Runtime.getRuntime().availableProcessors();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines