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

Comparing jsr166/src/jsr166e/Striped64.java (file contents):
Revision 1.2 by jsr166, Tue Aug 2 18:22:20 2011 UTC vs.
Revision 1.4 by jsr166, Sat Oct 15 15:37:50 2011 UTC

# Line 6 | Line 6
6  
7   package jsr166e;
8   import java.util.Random;
9 import java.util.concurrent.atomic.AtomicInteger;
10 import java.util.concurrent.atomic.AtomicLong;
9  
10   /**
11   * A package-local class holding common representation and mechanics
# Line 140 | Line 138 | abstract class Striped64 extends Number
138       */
139      static final ThreadHashCode threadHashCode = new ThreadHashCode();
140  
141 <    /** Nomber of CPUS, to place bound on table size */
141 >    /** Number of CPUS, to place bound on table size */
142      static final int NCPU = Runtime.getRuntime().availableProcessors();
143  
144      /**
# Line 150 | Line 148 | abstract class Striped64 extends Number
148  
149      /**
150       * Base value, used mainly when there is no contention, but also as
151 <     * a fallback during table initializion races. Updated via CAS.
151 >     * a fallback during table initialization races. Updated via CAS.
152       */
153      transient volatile long base;
154  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines