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

Comparing jsr166/src/jsr166e/LongAdder.java (file contents):
Revision 1.2 by jsr166, Mon Aug 1 04:18:59 2011 UTC vs.
Revision 1.3 by jsr166, Mon Aug 1 06:19:47 2011 UTC

# Line 146 | Line 146 | public class LongAdder implements Serial
146       */
147      static final ThreadHashCode threadHashCode = new ThreadHashCode();
148  
149 <    /** Nomber of CPUS, to place bound on table size */
149 >    /** Number of CPUS, to place bound on table size */
150      private static final int NCPU = Runtime.getRuntime().availableProcessors();
151  
152      /**
# Line 156 | Line 156 | public class LongAdder implements Serial
156  
157      /**
158       * Base sum, used mainly when there is no contention, but also as
159 <     * a fallback during table initializion races. Updated via CAS.
159 >     * a fallback during table initialization races. Updated via CAS.
160       */
161      private transient volatile long base;
162  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines