Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/concurrent/
DForkJoinPool.java1481 private static final int TC_SHIFT = 32; field in ForkJoinPool
1482 private static final long TC_UNIT = 0x0001L << TC_SHIFT;
1483 private static final long TC_MASK = 0xffffL << TC_SHIFT;
1484 private static final long ADD_WORKER = 0x0001L << (TC_SHIFT + 15); // sign
1834 int scale = 1 - (short)(c >>> TC_SHIFT); in timedAwaitWork()
1882 while ((short)((c = ctl) >> TC_SHIFT) > 0 && in tryDropSpare()
2180 int tc = pc + (short)(c >> TC_SHIFT); in tryCompensate()
2472 if ((short)(ctl >>> TC_SHIFT) + (config & SMASK) <= 0) { in tryTerminate()
2706 this.ctl = ((np << AC_SHIFT) & AC_MASK) | ((np << TC_SHIFT) & TC_MASK); in ForkJoinPool()
2905 return (config & SMASK) + (short)(ctl >>> TC_SHIFT); in getPoolSize()
[all …]