# | Line 6066 | Line 6066 | public class ConcurrentHashMap<K,V> impl | |
---|---|---|
6066 | Class<?> ck = CounterCell.class; | |
6067 | CELLVALUE = U.objectFieldOffset | |
6068 | (ck.getDeclaredField("value")); | |
6069 | < | Class<?> sc = Node[].class; |
6070 | < | ABASE = U.arrayBaseOffset(sc); |
6071 | < | int scale = U.arrayIndexScale(sc); |
6069 | > | Class<?> ak = Node[].class; |
6070 | > | ABASE = U.arrayBaseOffset(ak); |
6071 | > | int scale = U.arrayIndexScale(ak); |
6072 | if ((scale & (scale - 1)) != 0) | |
6073 | throw new Error("data type scale not a power of two"); | |
6074 | ASHIFT = 31 - Integer.numberOfLeadingZeros(scale); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |