/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()
|
D | ForkJoinTask8Test.java | 81 try (PoolCleaner cleaner = cleaner(pool)) { in testInvokeOnPool()
|
D | Collection8Test.java | 83 try (PoolCleaner cleaner = cleaner(pool, done)) { in testForEachConcurrentStressTest()
|
D | JSR166TestCase.java | 878 PoolCleaner cleaner(ExecutorService pool) { in cleaner() method in JSR166TestCase 882 PoolCleaner cleaner(ExecutorService pool, Runnable releaser) { in cleaner() method in JSR166TestCase 886 PoolCleaner cleaner(ExecutorService pool, CountDownLatch latch) { in cleaner() method in JSR166TestCase
|
D | LinkedBlockingQueueTest.java | 732 try (PoolCleaner cleaner = cleaner(executor)) { in testOfferInExecutor() 756 try (PoolCleaner cleaner = cleaner(executor)) { in testPollInExecutor()
|
D | LinkedTransferQueueTest.java | 604 try (PoolCleaner cleaner = cleaner(executor)) { in testOfferInExecutor() 630 try (PoolCleaner cleaner = cleaner(executor)) { in testPollInExecutor()
|
D | ArrayBlockingQueueTest.java | 798 try (PoolCleaner cleaner = cleaner(executor)) { in testOfferInExecutor() 823 try (PoolCleaner cleaner = cleaner(executor)) { in testPollInExecutor()
|
D | PriorityBlockingQueueTest.java | 633 try (PoolCleaner cleaner = cleaner(executor)) { in testPollInExecutor()
|
D | RecursiveTaskTest.java | 49 try (PoolCleaner cleaner = cleaner(pool)) { in testInvokeOnPool()
|
D | DelayQueueTest.java | 676 try (PoolCleaner cleaner = cleaner(executor)) { in testPollInExecutor()
|
D | RecursiveActionTest.java | 53 try (PoolCleaner cleaner = cleaner(pool)) { in testInvokeOnPool()
|
/libcore/luni/src/main/java/libcore/util/ |
D | NativeAllocationRegistry.java | 128 Cleaner cleaner = Cleaner.create(referent, new CleanerThunk(nativePtr)); in registerNativeAllocation() local 171 Cleaner cleaner = Cleaner.create(referent, thunk); in registerNativeAllocation() local 205 private final Cleaner cleaner; field in NativeAllocationRegistry.CleanerRunner 207 public CleanerRunner(Cleaner cleaner) { in CleanerRunner()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | DirectBuffer.java | 37 public Cleaner cleaner(); in cleaner() method
|
D | Util.java | 219 Cleaner cleaner = ((DirectBuffer)buf).cleaner(); in free() local
|
/libcore/luni/src/test/java/libcore/java/lang/ref/ |
D | ReferenceQueueTest.java | 99 Cleaner cleaner = Cleaner.create(object, new Runnable() { in testCleanersCleaned() local
|
/libcore/luni/src/test/java/libcore/util/ |
D | NativeAllocationRegistryTest.java | 126 Runnable cleaner = registry.registerNativeAllocation(referent, nativePtr); in testEarlyFree() local
|
/libcore/ojluni/src/main/java/java/nio/ |
D | DirectByteBuffer.java | 79 final Cleaner cleaner; field in DirectByteBuffer 137 public Cleaner cleaner() { in cleaner() method in DirectByteBuffer
|