Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/concurrent/
DThreadPoolExecutor.java555 private volatile int corePoolSize; field in ThreadPoolExecutor
914 >= ((core ? corePoolSize : maximumPoolSize) & COUNT_MASK)) in addWorker()
1016 int min = allowCoreThreadTimeOut ? 0 : corePoolSize; in processWorkerExit()
1059 boolean timed = allowCoreThreadTimeOut || wc > corePoolSize; in getTask()
1193 public ThreadPoolExecutor(int corePoolSize, in ThreadPoolExecutor() argument
1198 this(corePoolSize, maximumPoolSize, keepAliveTime, unit, workQueue, in ThreadPoolExecutor()
1228 public ThreadPoolExecutor(int corePoolSize, in ThreadPoolExecutor() argument
1234 this(corePoolSize, maximumPoolSize, keepAliveTime, unit, workQueue, in ThreadPoolExecutor()
1264 public ThreadPoolExecutor(int corePoolSize, in ThreadPoolExecutor() argument
1270 this(corePoolSize, maximumPoolSize, keepAliveTime, unit, workQueue, in ThreadPoolExecutor()
[all …]
DScheduledThreadPoolExecutor.java460 public ScheduledThreadPoolExecutor(int corePoolSize) { in ScheduledThreadPoolExecutor() argument
461 super(corePoolSize, Integer.MAX_VALUE, in ScheduledThreadPoolExecutor()
477 public ScheduledThreadPoolExecutor(int corePoolSize, in ScheduledThreadPoolExecutor() argument
479 super(corePoolSize, Integer.MAX_VALUE, in ScheduledThreadPoolExecutor()
495 public ScheduledThreadPoolExecutor(int corePoolSize, in ScheduledThreadPoolExecutor() argument
497 super(corePoolSize, Integer.MAX_VALUE, in ScheduledThreadPoolExecutor()
516 public ScheduledThreadPoolExecutor(int corePoolSize, in ScheduledThreadPoolExecutor() argument
519 super(corePoolSize, Integer.MAX_VALUE, in ScheduledThreadPoolExecutor()
DExecutors.java293 public static ScheduledExecutorService newScheduledThreadPool(int corePoolSize) { in newScheduledThreadPool() argument
294 return new ScheduledThreadPoolExecutor(corePoolSize); in newScheduledThreadPool()
309 int corePoolSize, ThreadFactory threadFactory) { in newScheduledThreadPool() argument
310 return new ScheduledThreadPoolExecutor(corePoolSize, threadFactory); in newScheduledThreadPool()
DForkJoinPool.java2522 int corePoolSize,
2539 int corep = Math.min(Math.max(corePoolSize, p), MAX_CAP);
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DThreadPoolExecutor.java44 int corePoolSize, in ThreadPoolExecutor() argument
53 int corePoolSize, in ThreadPoolExecutor() argument
63 int corePoolSize, in ThreadPoolExecutor() argument
73 int corePoolSize, in ThreadPoolExecutor() argument
229 public void setCorePoolSize(int corePoolSize) { in setCorePoolSize() argument
342 private volatile int corePoolSize; field in ThreadPoolExecutor
DExecutors.java92 int corePoolSize) { in newScheduledThreadPool() argument
97 int corePoolSize, java.util.concurrent.ThreadFactory threadFactory) { in newScheduledThreadPool() argument
/libcore/jsr166-tests/src/test/java/jsr166/
DScheduledExecutorSubclassTest.java91 CustomExecutor(int corePoolSize) { super(corePoolSize); } in CustomExecutor() argument
92 CustomExecutor(int corePoolSize, RejectedExecutionHandler handler) { in CustomExecutor() argument
93 super(corePoolSize, handler); in CustomExecutor()
96 CustomExecutor(int corePoolSize, ThreadFactory threadFactory) { in CustomExecutor() argument
97 super(corePoolSize, threadFactory); in CustomExecutor()
99 CustomExecutor(int corePoolSize, ThreadFactory threadFactory, in CustomExecutor() argument
101 super(corePoolSize, threadFactory, handler); in CustomExecutor()
DThreadPoolExecutorSubclassTest.java160 CustomTPE(int corePoolSize, in CustomTPE() argument
165 super(corePoolSize, maximumPoolSize, keepAliveTime, unit, in CustomTPE()
168 CustomTPE(int corePoolSize, in CustomTPE() argument
174 super(corePoolSize, maximumPoolSize, keepAliveTime, unit, workQueue, in CustomTPE()
178 CustomTPE(int corePoolSize, in CustomTPE() argument
184 super(corePoolSize, maximumPoolSize, keepAliveTime, unit, workQueue, in CustomTPE()
187 CustomTPE(int corePoolSize, in CustomTPE() argument
194 super(corePoolSize, maximumPoolSize, keepAliveTime, unit, in CustomTPE()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DScheduledExecutorSubclassTest.java115 CustomExecutor(int corePoolSize) { super(corePoolSize); } in CustomExecutor() argument
116 CustomExecutor(int corePoolSize, RejectedExecutionHandler handler) { in CustomExecutor() argument
117 super(corePoolSize, handler); in CustomExecutor()
120 CustomExecutor(int corePoolSize, ThreadFactory threadFactory) { in CustomExecutor() argument
121 super(corePoolSize, threadFactory); in CustomExecutor()
123 CustomExecutor(int corePoolSize, ThreadFactory threadFactory, in CustomExecutor() argument
125 super(corePoolSize, threadFactory, handler); in CustomExecutor()
DThreadPoolExecutorSubclassTest.java182 CustomTPE(int corePoolSize, in CustomTPE() argument
187 super(corePoolSize, maximumPoolSize, keepAliveTime, unit, in CustomTPE()
190 CustomTPE(int corePoolSize, in CustomTPE() argument
196 super(corePoolSize, maximumPoolSize, keepAliveTime, unit, workQueue, in CustomTPE()
200 CustomTPE(int corePoolSize, in CustomTPE() argument
206 super(corePoolSize, maximumPoolSize, keepAliveTime, unit, workQueue, in CustomTPE()
209 CustomTPE(int corePoolSize, in CustomTPE() argument
216 super(corePoolSize, maximumPoolSize, keepAliveTime, unit, in CustomTPE()