--- jsr166/src/jsr166e/ConcurrentHashMapV8.java 2011/09/10 05:13:37 1.20 +++ jsr166/src/jsr166e/ConcurrentHashMapV8.java 2011/09/10 19:33:14 1.22 @@ -85,7 +85,7 @@ import java.io.Serializable; *

jsr166e note: This class is a candidate replacement for * java.util.concurrent.ConcurrentHashMap. * - * @since 1.8 + * @since 1.5 * @author Doug Lea * @param the type of keys maintained by this map * @param the type of mapped values @@ -901,6 +901,8 @@ public class ConcurrentHashMapV8 * establishing the initial table size * @throws IllegalArgumentException if the initial capacity of * elements is negative or the load factor is nonpositive + * + * @since 1.6 */ public ConcurrentHashMapV8(int initialCapacity, float loadFactor) { this(initialCapacity, loadFactor, 1); @@ -1622,7 +1624,7 @@ public class ConcurrentHashMapV8 throws java.io.IOException, ClassNotFoundException { s.defaultReadObject(); this.segments = null; // unneeded - // initalize transient final field + // initialize transient final field UNSAFE.putObjectVolatile(this, counterOffset, new LongAdder()); this.targetCapacity = DEFAULT_CAPACITY;