Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/java/util/concurrent/
DExchanger.java231 private static final int ASHIFT = 7; field in Exchanger
339 Node q = (Node)U.getObjectVolatile(a, j = (i << ASHIFT) + ABASE); in arenaExchange()
446 arena = new Node[(FULL + 2) << ASHIFT]; in slotExchange()
628 ABASE = U.arrayBaseOffset(ak) + (1 << ASHIFT);
633 if ((s & (s-1)) != 0 || s > (1 << ASHIFT))
DForkJoinPool.java680 (a, (long)((m & (s - 1)) << ASHIFT) + ABASE) == null))); in isEmpty()
695 U.putOrderedObject(a, ((m & s) << ASHIFT) + ABASE, task); in push()
720 int oldj = ((b & oldMask) << ASHIFT) + ABASE; in growArray()
721 int j = ((b & mask) << ASHIFT) + ABASE; in growArray()
739 long j = ((m & s) << ASHIFT) + ABASE; in pop()
759 int j = (((a.length - 1) & b) << ASHIFT) + ABASE; in pollAt()
775 int j = (((a.length - 1) & b) << ASHIFT) + ABASE; in poll()
807 int j = ((i & m) << ASHIFT) + ABASE; in peek()
819 (a, (((a.length - 1) & --s) << ASHIFT) + ABASE, t, null)) { in tryUnpush()
862 long i = ((m & s) << ASHIFT) + ABASE; in runTask()
[all …]
DConcurrentHashMap.java560 return (Node<K,V>)U.getObjectVolatile(tab, ((long)i << ASHIFT) + ABASE); in tabAt()
565 return U.compareAndSwapObject(tab, ((long)i << ASHIFT) + ABASE, c, v); in casTabAt()
569 U.putOrderedObject(tab, ((long)i << ASHIFT) + ABASE, v); in setTabAt()
3170 private static final int ASHIFT; field in ConcurrentHashMap
3194 ASHIFT = 31 - Integer.numberOfLeadingZeros(scale);