/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ForkJoinPoolTest.java | 171 try (PoolCleaner cleaner = cleaner(p)) { in testDefaultInitialState() argument 211 try (PoolCleaner cleaner = cleaner(p)) { in testGetParallelism() argument 223 try (PoolCleaner cleaner = cleaner(p)) { in testGetPoolSize() argument 247 try (PoolCleaner cleaner = cleaner(p)) { in testAwaitTermination_timesOut() argument 288 try (PoolCleaner cleaner = cleaner(p)) { in testSetUncaughtExceptionHandler() argument 307 try (PoolCleaner cleaner = cleaner(p)) { in testIsQuiescent() argument 346 try (PoolCleaner cleaner = cleaner(p)) { 357 try (PoolCleaner cleaner = cleaner(p)) { 389 try (PoolCleaner cleaner = cleaner(p)) { 406 try (PoolCleaner cleaner = cleaner(p)) { [all …]
|
D | ThreadPoolExecutorTest.java | 95 try (PoolCleaner cleaner = cleaner(p)) { in testExecute() argument 114 try (PoolCleaner cleaner = cleaner(p, done)) { in testGetActiveCount() argument 136 try (PoolCleaner cleaner = cleaner(p)) { in testPrestartCoreThread() argument 162 try (PoolCleaner cleaner = cleaner(p)) { in testPrestartAllCoreThreads() argument 185 try (PoolCleaner cleaner = cleaner(p)) { in testGetCompletedTaskCount() argument 218 try (PoolCleaner cleaner = cleaner(p)) { in testGetCorePoolSize() argument 231 try (PoolCleaner cleaner = cleaner(p)) { in testGetKeepAliveTime() argument 247 try (PoolCleaner cleaner = cleaner(p)) { in testGetThreadFactory() argument 260 try (PoolCleaner cleaner = cleaner(p)) { in testSetThreadFactory() argument 275 try (PoolCleaner cleaner = cleaner(p)) { in testSetThreadFactoryNull() argument [all …]
|
D | ScheduledExecutorTest.java | 54 try (PoolCleaner cleaner = cleaner(p)) { in testExecute() argument 68 try (PoolCleaner cleaner = cleaner(p)) { in testSchedule1() argument 89 try (PoolCleaner cleaner = cleaner(p)) { in testSchedule3() argument 109 try (PoolCleaner cleaner = cleaner(p)) { in testSchedule4() argument 131 try (PoolCleaner cleaner = cleaner(p)) { in testSchedule5() argument 160 try (PoolCleaner cleaner = cleaner(p)) { in testFixedRateSequence() argument 189 try (PoolCleaner cleaner = cleaner(p)) { in testFixedDelaySequence() argument 233 try (PoolCleaner cleaner = cleaner(p)) { in testExecuteNull() argument 246 try (PoolCleaner cleaner = cleaner(p)) { in testScheduleNull() argument 260 try (PoolCleaner cleaner = cleaner(p)) { in testSchedule1_RejectedExecutionException() argument [all …]
|
D | ScheduledExecutorSubclassTest.java | 111 try (PoolCleaner cleaner = cleaner(p)) { in testExecute() argument 126 try (PoolCleaner cleaner = cleaner(p, done)) { in testSchedule1() argument 145 try (PoolCleaner cleaner = cleaner(p)) { in testSchedule3() argument 165 try (PoolCleaner cleaner = cleaner(p)) { in testSchedule4() argument 187 try (PoolCleaner cleaner = cleaner(p)) { in testSchedule5() argument 216 try (PoolCleaner cleaner = cleaner(p)) { in testFixedRateSequence() argument 245 try (PoolCleaner cleaner = cleaner(p)) { in testFixedDelaySequence() argument 289 try (PoolCleaner cleaner = cleaner(p)) { in testExecuteNull() argument 302 try (PoolCleaner cleaner = cleaner(p)) { in testScheduleNull() argument 316 try (PoolCleaner cleaner = cleaner(p)) { in testSchedule1_RejectedExecutionException() argument [all …]
|
D | ThreadPoolExecutorSubclassTest.java | 242 try (PoolCleaner cleaner = cleaner(p)) { in testExecute() argument 261 try (PoolCleaner cleaner = cleaner(p, done)) { in testGetActiveCount() argument 283 try (PoolCleaner cleaner = cleaner(p)) { in testPrestartCoreThread() argument 309 try (PoolCleaner cleaner = cleaner(p)) { in testPrestartAllCoreThreads() argument 332 try (PoolCleaner cleaner = cleaner(p)) { in testGetCompletedTaskCount() argument 365 try (PoolCleaner cleaner = cleaner(p)) { in testGetCorePoolSize() argument 378 try (PoolCleaner cleaner = cleaner(p)) { in testGetKeepAliveTime() argument 394 try (PoolCleaner cleaner = cleaner(p)) { in testGetThreadFactory() argument 407 try (PoolCleaner cleaner = cleaner(p)) { in testSetThreadFactory() argument 422 try (PoolCleaner cleaner = cleaner(p)) { in testSetThreadFactoryNull() argument [all …]
|
D | AbstractExecutorServiceTest.java | 208 try (PoolCleaner cleaner = cleaner(p, quittingTime)) { in testInterruptedSubmit() argument 231 try (PoolCleaner cleaner = cleaner(p)) { in testSubmitEE() argument 248 try (PoolCleaner cleaner = cleaner(e)) { in testInvokeAny1() argument 261 try (PoolCleaner cleaner = cleaner(e)) { in testInvokeAny2() argument 274 try (PoolCleaner cleaner = cleaner(e)) { in testInvokeAny3() argument 291 try (PoolCleaner cleaner = cleaner(e)) { in testInvokeAny4() argument 308 try (PoolCleaner cleaner = cleaner(e)) { in testInvokeAny5() argument 322 try (PoolCleaner cleaner = cleaner(e)) { in testInvokeAll1() argument 335 try (PoolCleaner cleaner = cleaner(e)) { in testInvokeAll2() argument 346 try (PoolCleaner cleaner = cleaner(e)) { in testInvokeAll3() argument [all …]
|
D | ExecutorCompletionServiceTest.java | 66 try (PoolCleaner cleaner = cleaner(e)) { in testSubmitNPE() argument 81 try (PoolCleaner cleaner = cleaner(e)) { in testSubmitNPE2() argument 96 try (PoolCleaner cleaner = cleaner(e)) { in testTake() argument 110 try (PoolCleaner cleaner = cleaner(e)) { in testTake2() argument 124 try (PoolCleaner cleaner = cleaner(e)) { in testPoll1() argument 147 try (PoolCleaner cleaner = cleaner(e)) { in testPoll2() argument 176 try (PoolCleaner cleaner = cleaner(e)) { in testNewTaskForCallable() argument 207 try (PoolCleaner cleaner = cleaner(e)) { in testNewTaskForRunnable() argument
|
D | ExecutorsTest.java | 47 try (PoolCleaner cleaner = cleaner(e)) { in testNewCachedThreadPool1() argument 59 try (PoolCleaner cleaner = cleaner(e)) { in testNewCachedThreadPool2() argument 81 try (PoolCleaner cleaner = cleaner(e)) { in testNewSingleThreadExecutor1() argument 93 try (PoolCleaner cleaner = cleaner(e)) { in testNewSingleThreadExecutor2() argument 115 try (PoolCleaner cleaner = cleaner(e)) { in testCastNewSingleThreadExecutor() argument 128 try (PoolCleaner cleaner = cleaner(e)) { in testNewFixedThreadPool1() argument 140 try (PoolCleaner cleaner = cleaner(e)) { in testNewFixedThreadPool2() argument 172 try (PoolCleaner cleaner = cleaner(e)) { in testUnconfigurableExecutorService() argument 204 try (PoolCleaner cleaner = cleaner(p)) { in testNewSingleThreadScheduledExecutor() argument 228 try (PoolCleaner cleaner = cleaner(p)) { in testNewScheduledThreadPool() argument [all …]
|
D | Collection8Test.java | 83 try (PoolCleaner cleaner = cleaner(pool, done)) { in testForEachConcurrentStressTest() argument
|
D | SynchronousQueueTest.java | 482 try (PoolCleaner cleaner = cleaner(executor)) { 509 try (PoolCleaner cleaner = cleaner(executor)) {
|
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 897 PoolCleaner cleaner(ExecutorService pool, AtomicBoolean flag) { 938 try (PoolCleaner cleaner = cleaner(pool)) {
|
D | LinkedBlockingQueueTest.java | 732 try (PoolCleaner cleaner = cleaner(executor)) { in testOfferInExecutor() argument 756 try (PoolCleaner cleaner = cleaner(executor)) { in testPollInExecutor() argument
|
/libcore/luni/src/main/java/libcore/util/ |
D | NativeAllocationRegistry.java | 245 Cleaner cleaner = Cleaner.create(referent, thunk); in registerNativeAllocation() local 246 result = new CleanerRunner(cleaner); in registerNativeAllocation() 279 private final Cleaner cleaner; field in NativeAllocationRegistry.CleanerRunner 281 public CleanerRunner(Cleaner cleaner) { in CleanerRunner() argument 282 this.cleaner = cleaner; in CleanerRunner() 286 cleaner.clean(); in run()
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | NativeBuffer.java | 40 private final Cleaner cleaner; field in NativeBuffer 59 this.cleaner = Cleaner.create(this, new Deallocator(address)); in NativeBuffer() 80 Cleaner cleaner() { in cleaner() method in NativeBuffer 81 return cleaner; in cleaner()
|
D | NativeBuffers.java | 110 existing.cleaner().clean(); in releaseNativeBuffer() 117 buffer.cleaner().clean(); in releaseNativeBuffer()
|
/libcore/luni/src/test/java/libcore/libcore/util/ |
D | NativeAllocationRegistryTest.java | 157 Runnable cleaner = registry.registerNativeAllocation(referent, nativePtr); in testEarlyFree() local 161 cleaner.run(); in testEarlyFree() 166 cleaner.run(); in testEarlyFree()
|
/libcore/luni/src/main/java/java/nio/ |
D | NioUtils.java | 49 if (dbb.cleaner != null) { in freeDirectBuffer() 50 dbb.cleaner.clean(); in freeDirectBuffer()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | Util.java | 296 Cleaner cleaner = ((DirectBuffer)buf).cleaner(); in free() local 297 if (cleaner != null) { in free() 298 cleaner.clean(); in free()
|
D | DirectBuffer.java | 37 public 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/ojluni/annotations/hiddenapi/sun/nio/ch/ |
D | DirectBuffer.java | 39 public sun.misc.Cleaner cleaner(); in cleaner() method
|
/libcore/ojluni/src/main/java/java/nio/ |
D | DirectByteBuffer.java | 95 final Cleaner cleaner; field in DirectByteBuffer 104 cleaner = null; in DirectByteBuffer() 114 cleaner = null; in DirectByteBuffer() 126 cleaner = Cleaner.create(memoryRef, unmapper); in DirectByteBuffer() 143 cleaner = null; in DirectByteBuffer() 152 public final Cleaner cleaner() { in cleaner() method in DirectByteBuffer 153 return cleaner; in cleaner()
|
/libcore/ojluni/annotations/hiddenapi/java/nio/ |
D | DirectByteBuffer.java | 83 public final sun.misc.Cleaner cleaner() { in cleaner() method in DirectByteBuffer 431 final sun.misc.Cleaner cleaner; field in DirectByteBuffer 434 cleaner = null;
|
/libcore/luni/src/test/java/libcore/java/lang/ref/ |
D | ReferenceQueueTest.java | 115 Cleaner cleaner = Cleaner.create(object, new Runnable() { in testCleanersCleaned() local
|
/libcore/ojluni/annotations/mmodule/java/nio/ |
D | DirectByteBuffer.annotated.java | 40 public final sun.misc.Cleaner cleaner() { throw new RuntimeException("Stub!"); } in cleaner() method in DirectByteBuffer
|