/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | ThreadPoolExecutorTest.java | 117 try (PoolCleaner cleaner = cleaner(p)) { in testExecute() 136 try (PoolCleaner cleaner = cleaner(p, done)) { in testGetActiveCount() 158 try (PoolCleaner cleaner = cleaner(p)) { in testPrestartCoreThread() 184 try (PoolCleaner cleaner = cleaner(p)) { in testPrestartAllCoreThreads() 207 try (PoolCleaner cleaner = cleaner(p)) { in testGetCompletedTaskCount() 240 try (PoolCleaner cleaner = cleaner(p)) { in testGetCorePoolSize() 253 try (PoolCleaner cleaner = cleaner(p)) { in testGetKeepAliveTime() 269 try (PoolCleaner cleaner = cleaner(p)) { in testGetThreadFactory() 282 try (PoolCleaner cleaner = cleaner(p)) { in testSetThreadFactory() 297 try (PoolCleaner cleaner = cleaner(p)) { in testSetThreadFactoryNull() [all …]
|
D | ScheduledExecutorTest.java | 76 try (PoolCleaner cleaner = cleaner(p)) { in testExecute() 90 try (PoolCleaner cleaner = cleaner(p)) { in testSchedule1() 111 try (PoolCleaner cleaner = cleaner(p)) { in testSchedule3() 131 try (PoolCleaner cleaner = cleaner(p)) { in testSchedule4() 153 try (PoolCleaner cleaner = cleaner(p)) { in testSchedule5() 182 try (PoolCleaner cleaner = cleaner(p)) { in testFixedRateSequence() 211 try (PoolCleaner cleaner = cleaner(p)) { in testFixedDelaySequence() 255 try (PoolCleaner cleaner = cleaner(p)) { in testExecuteNull() 268 try (PoolCleaner cleaner = cleaner(p)) { in testScheduleNull() 282 try (PoolCleaner cleaner = cleaner(p)) { in testSchedule1_RejectedExecutionException() [all …]
|
D | ThreadPoolExecutorSubclassTest.java | 264 try (PoolCleaner cleaner = cleaner(p)) { in testExecute() 283 try (PoolCleaner cleaner = cleaner(p, done)) { in testGetActiveCount() 305 try (PoolCleaner cleaner = cleaner(p)) { in testPrestartCoreThread() 331 try (PoolCleaner cleaner = cleaner(p)) { in testPrestartAllCoreThreads() 354 try (PoolCleaner cleaner = cleaner(p)) { in testGetCompletedTaskCount() 387 try (PoolCleaner cleaner = cleaner(p)) { in testGetCorePoolSize() 400 try (PoolCleaner cleaner = cleaner(p)) { in testGetKeepAliveTime() 416 try (PoolCleaner cleaner = cleaner(p)) { in testGetThreadFactory() 429 try (PoolCleaner cleaner = cleaner(p)) { in testSetThreadFactory() 444 try (PoolCleaner cleaner = cleaner(p)) { in testSetThreadFactoryNull() [all …]
|
D | ScheduledExecutorSubclassTest.java | 133 try (PoolCleaner cleaner = cleaner(p)) { in testExecute() 148 try (PoolCleaner cleaner = cleaner(p, done)) { in testSchedule1() 167 try (PoolCleaner cleaner = cleaner(p)) { in testSchedule3() 187 try (PoolCleaner cleaner = cleaner(p)) { in testSchedule4() 209 try (PoolCleaner cleaner = cleaner(p)) { in testSchedule5() 238 try (PoolCleaner cleaner = cleaner(p)) { in testFixedRateSequence() 267 try (PoolCleaner cleaner = cleaner(p)) { in testFixedDelaySequence() 311 try (PoolCleaner cleaner = cleaner(p)) { in testExecuteNull() 324 try (PoolCleaner cleaner = cleaner(p)) { in testScheduleNull() 338 try (PoolCleaner cleaner = cleaner(p)) { in testSchedule1_RejectedExecutionException() [all …]
|
D | ForkJoinPoolTest.java | 189 try (PoolCleaner cleaner = cleaner(p)) { in testDefaultInitialState() 229 try (PoolCleaner cleaner = cleaner(p)) { in testGetParallelism() 241 try (PoolCleaner cleaner = cleaner(p)) { in testGetPoolSize() 265 try (PoolCleaner cleaner = cleaner(p)) { in testAwaitTermination_timesOut() 306 try (PoolCleaner cleaner = cleaner(p)) { in testSetUncaughtExceptionHandler() 325 try (PoolCleaner cleaner = cleaner(p)) { in testIsQuiescent() 446 try (PoolCleaner cleaner = cleaner(e)) { in testExecuteRunnable() 465 try (PoolCleaner cleaner = cleaner(e)) { in testSubmitCallable() 478 try (PoolCleaner cleaner = cleaner(e)) { in testSubmitRunnable() 491 try (PoolCleaner cleaner = cleaner(e)) { in testSubmitRunnable2() [all …]
|
D | AbstractExecutorServiceTest.java | 231 try (PoolCleaner cleaner = cleaner(p, quittingTime)) { in testInterruptedSubmit() 254 try (PoolCleaner cleaner = cleaner(p)) { in testSubmitEE() 271 try (PoolCleaner cleaner = cleaner(e)) { in testInvokeAny1() 284 try (PoolCleaner cleaner = cleaner(e)) { in testInvokeAny2() 297 try (PoolCleaner cleaner = cleaner(e)) { in testInvokeAny3() 314 try (PoolCleaner cleaner = cleaner(e)) { in testInvokeAny4() 331 try (PoolCleaner cleaner = cleaner(e)) { in testInvokeAny5() 345 try (PoolCleaner cleaner = cleaner(e)) { in testInvokeAll1() 358 try (PoolCleaner cleaner = cleaner(e)) { in testInvokeAll2() 369 try (PoolCleaner cleaner = cleaner(e)) { in testInvokeAll3() [all …]
|
D | ExecutorsTest.java | 70 try (PoolCleaner cleaner = cleaner(e)) { in testNewCachedThreadPool1() 82 try (PoolCleaner cleaner = cleaner(e)) { in testNewCachedThreadPool2() 104 try (PoolCleaner cleaner = cleaner(e)) { in testNewSingleThreadExecutor1() 116 try (PoolCleaner cleaner = cleaner(e)) { in testNewSingleThreadExecutor2() 138 try (PoolCleaner cleaner = cleaner(e)) { in testCastNewSingleThreadExecutor() 151 try (PoolCleaner cleaner = cleaner(e)) { in testNewFixedThreadPool1() 163 try (PoolCleaner cleaner = cleaner(e)) { in testNewFixedThreadPool2() 195 try (PoolCleaner cleaner = cleaner(e)) { in testUnconfigurableExecutorService() 227 try (PoolCleaner cleaner = cleaner(p)) { in testNewSingleThreadScheduledExecutor() 251 try (PoolCleaner cleaner = cleaner(p)) { in testNewScheduledThreadPool() [all …]
|
D | ForkJoinTaskTest.java | 80 try (PoolCleaner cleaner = cleaner(pool)) { in testInvokeOnPool()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ThreadPoolExecutorTest.java | 95 try (PoolCleaner cleaner = cleaner(p)) { in testExecute() 114 try (PoolCleaner cleaner = cleaner(p, done)) { in testGetActiveCount() 136 try (PoolCleaner cleaner = cleaner(p)) { in testPrestartCoreThread() 162 try (PoolCleaner cleaner = cleaner(p)) { in testPrestartAllCoreThreads() 185 try (PoolCleaner cleaner = cleaner(p)) { in testGetCompletedTaskCount() 218 try (PoolCleaner cleaner = cleaner(p)) { in testGetCorePoolSize() 231 try (PoolCleaner cleaner = cleaner(p)) { in testGetKeepAliveTime() 247 try (PoolCleaner cleaner = cleaner(p)) { in testGetThreadFactory() 260 try (PoolCleaner cleaner = cleaner(p)) { in testSetThreadFactory() 275 try (PoolCleaner cleaner = cleaner(p)) { in testSetThreadFactoryNull() [all …]
|
D | ScheduledExecutorTest.java | 54 try (PoolCleaner cleaner = cleaner(p)) { in testExecute() 68 try (PoolCleaner cleaner = cleaner(p)) { in testSchedule1() 89 try (PoolCleaner cleaner = cleaner(p)) { in testSchedule3() 109 try (PoolCleaner cleaner = cleaner(p)) { in testSchedule4() 131 try (PoolCleaner cleaner = cleaner(p)) { in testSchedule5() 160 try (PoolCleaner cleaner = cleaner(p)) { in testFixedRateSequence() 189 try (PoolCleaner cleaner = cleaner(p)) { in testFixedDelaySequence() 233 try (PoolCleaner cleaner = cleaner(p)) { in testExecuteNull() 246 try (PoolCleaner cleaner = cleaner(p)) { in testScheduleNull() 260 try (PoolCleaner cleaner = cleaner(p)) { in testSchedule1_RejectedExecutionException() [all …]
|
D | ThreadPoolExecutorSubclassTest.java | 242 try (PoolCleaner cleaner = cleaner(p)) { in testExecute() 261 try (PoolCleaner cleaner = cleaner(p, done)) { in testGetActiveCount() 283 try (PoolCleaner cleaner = cleaner(p)) { in testPrestartCoreThread() 309 try (PoolCleaner cleaner = cleaner(p)) { in testPrestartAllCoreThreads() 332 try (PoolCleaner cleaner = cleaner(p)) { in testGetCompletedTaskCount() 365 try (PoolCleaner cleaner = cleaner(p)) { in testGetCorePoolSize() 378 try (PoolCleaner cleaner = cleaner(p)) { in testGetKeepAliveTime() 394 try (PoolCleaner cleaner = cleaner(p)) { in testGetThreadFactory() 407 try (PoolCleaner cleaner = cleaner(p)) { in testSetThreadFactory() 422 try (PoolCleaner cleaner = cleaner(p)) { in testSetThreadFactoryNull() [all …]
|
D | ScheduledExecutorSubclassTest.java | 111 try (PoolCleaner cleaner = cleaner(p)) { in testExecute() 126 try (PoolCleaner cleaner = cleaner(p, done)) { in testSchedule1() 145 try (PoolCleaner cleaner = cleaner(p)) { in testSchedule3() 165 try (PoolCleaner cleaner = cleaner(p)) { in testSchedule4() 187 try (PoolCleaner cleaner = cleaner(p)) { in testSchedule5() 216 try (PoolCleaner cleaner = cleaner(p)) { in testFixedRateSequence() 245 try (PoolCleaner cleaner = cleaner(p)) { in testFixedDelaySequence() 289 try (PoolCleaner cleaner = cleaner(p)) { in testExecuteNull() 302 try (PoolCleaner cleaner = cleaner(p)) { in testScheduleNull() 316 try (PoolCleaner cleaner = cleaner(p)) { in testSchedule1_RejectedExecutionException() [all …]
|
D | ForkJoinPoolTest.java | 171 try (PoolCleaner cleaner = cleaner(p)) { in testDefaultInitialState() 211 try (PoolCleaner cleaner = cleaner(p)) { in testGetParallelism() 223 try (PoolCleaner cleaner = cleaner(p)) { in testGetPoolSize() 247 try (PoolCleaner cleaner = cleaner(p)) { in testAwaitTermination_timesOut() 288 try (PoolCleaner cleaner = cleaner(p)) { in testSetUncaughtExceptionHandler() 307 try (PoolCleaner cleaner = cleaner(p)) { in testIsQuiescent() 428 try (PoolCleaner cleaner = cleaner(e)) { in testExecuteRunnable() 447 try (PoolCleaner cleaner = cleaner(e)) { in testSubmitCallable() 460 try (PoolCleaner cleaner = cleaner(e)) { in testSubmitRunnable() 473 try (PoolCleaner cleaner = cleaner(e)) { in testSubmitRunnable2() [all …]
|
D | AbstractExecutorServiceTest.java | 208 try (PoolCleaner cleaner = cleaner(p, quittingTime)) { in testInterruptedSubmit() 231 try (PoolCleaner cleaner = cleaner(p)) { in testSubmitEE() 248 try (PoolCleaner cleaner = cleaner(e)) { in testInvokeAny1() 261 try (PoolCleaner cleaner = cleaner(e)) { in testInvokeAny2() 274 try (PoolCleaner cleaner = cleaner(e)) { in testInvokeAny3() 291 try (PoolCleaner cleaner = cleaner(e)) { in testInvokeAny4() 308 try (PoolCleaner cleaner = cleaner(e)) { in testInvokeAny5() 322 try (PoolCleaner cleaner = cleaner(e)) { in testInvokeAll1() 335 try (PoolCleaner cleaner = cleaner(e)) { in testInvokeAll2() 346 try (PoolCleaner cleaner = cleaner(e)) { in testInvokeAll3() [all …]
|
D | ExecutorsTest.java | 47 try (PoolCleaner cleaner = cleaner(e)) { in testNewCachedThreadPool1() 59 try (PoolCleaner cleaner = cleaner(e)) { in testNewCachedThreadPool2() 81 try (PoolCleaner cleaner = cleaner(e)) { in testNewSingleThreadExecutor1() 93 try (PoolCleaner cleaner = cleaner(e)) { in testNewSingleThreadExecutor2() 115 try (PoolCleaner cleaner = cleaner(e)) { in testCastNewSingleThreadExecutor() 128 try (PoolCleaner cleaner = cleaner(e)) { in testNewFixedThreadPool1() 140 try (PoolCleaner cleaner = cleaner(e)) { in testNewFixedThreadPool2() 172 try (PoolCleaner cleaner = cleaner(e)) { in testUnconfigurableExecutorService() 204 try (PoolCleaner cleaner = cleaner(p)) { in testNewSingleThreadScheduledExecutor() 228 try (PoolCleaner cleaner = cleaner(p)) { in testNewScheduledThreadPool() [all …]
|
D | ExecutorCompletionServiceTest.java | 66 try (PoolCleaner cleaner = cleaner(e)) { in testSubmitNPE() 81 try (PoolCleaner cleaner = cleaner(e)) { in testSubmitNPE2() 96 try (PoolCleaner cleaner = cleaner(e)) { in testTake() 110 try (PoolCleaner cleaner = cleaner(e)) { in testTake2() 124 try (PoolCleaner cleaner = cleaner(e)) { in testPoll1() 147 try (PoolCleaner cleaner = cleaner(e)) { in testPoll2() 176 try (PoolCleaner cleaner = cleaner(e)) { in testNewTaskForCallable() 207 try (PoolCleaner cleaner = cleaner(e)) { in testNewTaskForRunnable()
|
D | ForkJoinTaskTest.java | 58 try (PoolCleaner cleaner = cleaner(pool)) { in testInvokeOnPool()
|
/libcore/luni/src/test/java/libcore/java/util/concurrent/ |
D | ForkJoinTaskTest.java | 44 try (ExecutorServiceAutoCloseable cleaner = new ExecutorServiceAutoCloseable(pool)) { in testAdaptToRunnableWithResult() 63 try (ExecutorServiceAutoCloseable cleaner = new ExecutorServiceAutoCloseable(pool)) { in testAdaptToCallable() 82 try (ExecutorServiceAutoCloseable cleaner = new ExecutorServiceAutoCloseable(pool)) { in testAdaptToCallableThrowsException()
|
D | ExecutorsTest.java | 35 try (ExecutorServiceAutoCloseable cleaner = new ExecutorServiceAutoCloseable(e)) { in testNewWorkStealingPoolDefault() 45 try (ExecutorServiceAutoCloseable cleaner = new ExecutorServiceAutoCloseable(e)) { in testNewWorkStealingPoolWithParallelism()
|
D | ForkJoinPoolTest.java | 38 try (ExecutorServiceAutoCloseable cleaner = new ExecutorServiceAutoCloseable(pool)) { in testSubmit() 51 try (ExecutorServiceAutoCloseable cleaner = new ExecutorServiceAutoCloseable(pool)) { in testGetRunningThreadCount()
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | NativeBuffer.java | 40 private final Cleaner cleaner; field in NativeBuffer 80 Cleaner cleaner() { in cleaner() method in NativeBuffer
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | DirectBuffer.java | 37 public Cleaner cleaner(); in cleaner() method
|
/libcore/ojluni/annotations/hiddenapi/sun/nio/ch/ |
D | DirectBuffer.java | 39 public sun.misc.Cleaner cleaner(); in cleaner() method
|
/libcore/ojluni/annotations/mmodule/sun/nio/ch/ |
D | DirectBuffer.annotated.java | 38 public sun.misc.Cleaner cleaner(); in cleaner() method
|
/libcore/luni/src/main/java/libcore/util/ |
D | NativeAllocationRegistry.java | 268 Cleaner cleaner = Cleaner.create(referent, thunk); in registerNativeAllocation() local 302 private final Cleaner cleaner; field in NativeAllocationRegistry.CleanerRunner 304 public CleanerRunner(Cleaner cleaner) { in CleanerRunner()
|