Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/java/util/concurrent/
DForkJoinPool.java1449 private static final int TC_SHIFT = 32; field in ForkJoinPool
1450 private static final long TC_UNIT = 0x0001L << TC_SHIFT;
1451 private static final long TC_MASK = 0xffffL << TC_SHIFT;
1452 private static final long ADD_WORKER = 0x0001L << (TC_SHIFT + 15); // sign
1802 int scale = 1 - (short)(c >>> TC_SHIFT); in timedAwaitWork()
1850 while ((short)((c = ctl) >> TC_SHIFT) > 0 && in tryDropSpare()
2148 int tc = pc + (short)(c >> TC_SHIFT); in tryCompensate()
2440 if ((short)(ctl >>> TC_SHIFT) + (config & SMASK) <= 0) { in tryTerminate()
2674 this.ctl = ((np << AC_SHIFT) & AC_MASK) | ((np << TC_SHIFT) & TC_MASK); in ForkJoinPool()
2873 return (config & SMASK) + (short)(ctl >>> TC_SHIFT); in getPoolSize()
[all …]