# | Line 3177 | Line 3177 | public class ConcurrentHashMap<K,V> impl | |
---|---|---|
3177 | Class<?> ck = CounterCell.class; | |
3178 | CELLVALUE = U.objectFieldOffset | |
3179 | (ck.getDeclaredField("value")); | |
3180 | < | Class<?> sc = Node[].class; |
3181 | < | ABASE = U.arrayBaseOffset(sc); |
3182 | < | int scale = U.arrayIndexScale(sc); |
3180 | > | Class<?> ak = Node[].class; |
3181 | > | ABASE = U.arrayBaseOffset(ak); |
3182 | > | int scale = U.arrayIndexScale(ak); |
3183 | if ((scale & (scale - 1)) != 0) | |
3184 | throw new Error("data type scale not a power of two"); | |
3185 | ASHIFT = 31 - Integer.numberOfLeadingZeros(scale); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |