Home
last modified time | relevance | path

Searched refs:ASHIFT (Results 1 – 6 of 6) sorted by relevance

/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
DAtomicIntegerArray.java54 private static final int ASHIFT; field in AtomicIntegerArray
62 ASHIFT = 31 - Integer.numberOfLeadingZeros(scale);
73 return ((long) i << ASHIFT) + ABASE; in byteOffset()
DAtomicLongArray.java53 private static final int ASHIFT; field in AtomicLongArray
61 ASHIFT = 31 - Integer.numberOfLeadingZeros(scale);
72 return ((long) i << ASHIFT) + ABASE; in byteOffset()
DAtomicReferenceArray.java58 private static final int ASHIFT; field in AtomicReferenceArray
69 ASHIFT = 31 - Integer.numberOfLeadingZeros(scale);
83 return ((long) i << ASHIFT) + ABASE; in byteOffset()
/libcore/ojluni/src/main/java/java/util/concurrent/
DExchanger.java258 private static final int ASHIFT = 7; field in Exchanger
364 Node q = (Node)U.getObjectVolatile(a, j = (i << ASHIFT) + ABASE); in arenaExchange()
471 arena = new Node[(FULL + 2) << ASHIFT]; in slotExchange()
649 if ((scale & (scale - 1)) != 0 || scale > (1 << ASHIFT))
652 ABASE = U.arrayBaseOffset(Node[].class) + (1 << ASHIFT);
DForkJoinPool.java903 long offset = ((long)index << ASHIFT) + ABASE; in growArray()
923 long offset = ((long)index << ASHIFT) + ABASE; in pop()
944 long offset = ((long)index << ASHIFT) + ABASE; in pollAt()
965 long offset = ((long)index << ASHIFT) + ABASE; in poll()
1008 long offset = ((long)index << ASHIFT) + ABASE; in tryUnpush()
1068 long offset = ((long)index << ASHIFT) + ABASE; in trySharedUnpush()
1110 long offset = ((long)index << ASHIFT) + ABASE; in localPopAndExec()
1135 long offset = ((long)index << ASHIFT) + ABASE; in localPollAndExec()
1201 long offset = (index << ASHIFT) + ABASE; in tryRemoveAndExec()
1251 long offset = ((long)index << ASHIFT) + ABASE; in popCC()
[all …]
DConcurrentHashMap.java763 return (Node<K,V>)U.getObjectVolatile(tab, ((long)i << ASHIFT) + ABASE); in tabAt()
768 return U.compareAndSwapObject(tab, ((long)i << ASHIFT) + ABASE, c, v); in casTabAt()
772 U.putObjectVolatile(tab, ((long)i << ASHIFT) + ABASE, v); in setTabAt()
6354 private static final int ASHIFT; field in ConcurrentHashMap
6374 ASHIFT = 31 - Integer.numberOfLeadingZeros(scale);