Searched refs:CPU_COUNT (Results 1 – 3 of 3) sorted by relevance
33 private static final int CPU_COUNT = Runtime.getRuntime().availableProcessors(); field in Executors34 private static final int CORE_POOL_SIZE = CPU_COUNT + 1;35 private static final int MAXIMUM_POOL_SIZE = CPU_COUNT * 2 + 1;
59 private static final int CPU_COUNT = Runtime.getRuntime().availableProcessors(); field in ImageLoader63 private static final int CORE_POOL_SIZE = Math.max(2, Math.min(CPU_COUNT - 1, 4));64 private static final int MAXIMUM_POOL_SIZE = CPU_COUNT * 2 + 1;
37 private static final int CPU_COUNT = Runtime.getRuntime().availableProcessors(); field in ContactsExecutors38 private static final int CORE_POOL_SIZE = CPU_COUNT + 1;