# | Line 6813 | Line 6813 | public class ConcurrentHashMapV8<K,V> | |
---|---|---|
6813 | Class<?> ck = CounterCell.class; | |
6814 | CELLVALUE = U.objectFieldOffset | |
6815 | (ck.getDeclaredField("value")); | |
6816 | < | Class<?> sc = Node[].class; |
6817 | < | ABASE = U.arrayBaseOffset(sc); |
6818 | < | int scale = U.arrayIndexScale(sc); |
6816 | > | Class<?> ak = Node[].class; |
6817 | > | ABASE = U.arrayBaseOffset(ak); |
6818 | > | int scale = U.arrayIndexScale(ak); |
6819 | if ((scale & (scale - 1)) != 0) | |
6820 | throw new Error("data type scale not a power of two"); | |
6821 | ASHIFT = 31 - Integer.numberOfLeadingZeros(scale); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |