Home
last modified time | relevance | path

Searched defs:cleaner (Results 1 – 25 of 32) sorted by relevance

12

/libcore/jsr166-tests/src/test/java/jsr166/
DThreadPoolExecutorTest.java95 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 …]
DScheduledExecutorTest.java54 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 …]
DThreadPoolExecutorSubclassTest.java242 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 …]
DScheduledExecutorSubclassTest.java111 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 …]
DForkJoinPoolTest.java171 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 …]
DAbstractExecutorServiceTest.java208 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 …]
DExecutorsTest.java47 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 …]
DExecutorCompletionServiceTest.java66 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()
DForkJoinTaskTest.java58 try (PoolCleaner cleaner = cleaner(pool)) { in testInvokeOnPool()
DForkJoinTask8Test.java81 try (PoolCleaner cleaner = cleaner(pool)) { in testInvokeOnPool()
DCollection8Test.java83 try (PoolCleaner cleaner = cleaner(pool, done)) { in testForEachConcurrentStressTest()
DJSR166TestCase.java878 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
DLinkedBlockingQueueTest.java732 try (PoolCleaner cleaner = cleaner(executor)) { in testOfferInExecutor()
756 try (PoolCleaner cleaner = cleaner(executor)) { in testPollInExecutor()
DLinkedTransferQueueTest.java605 try (PoolCleaner cleaner = cleaner(executor)) { in testOfferInExecutor()
631 try (PoolCleaner cleaner = cleaner(executor)) { in testPollInExecutor()
DArrayBlockingQueueTest.java798 try (PoolCleaner cleaner = cleaner(executor)) { in testOfferInExecutor()
823 try (PoolCleaner cleaner = cleaner(executor)) { in testPollInExecutor()
/libcore/ojluni/src/main/java/sun/nio/fs/
DNativeBuffer.java40 private final Cleaner cleaner; field in NativeBuffer
80 Cleaner cleaner() { in cleaner() method in NativeBuffer
/libcore/ojluni/src/main/java/sun/nio/ch/
DDirectBuffer.java37 public Cleaner cleaner(); in cleaner() method
DUtil.java296 Cleaner cleaner = ((DirectBuffer)buf).cleaner(); in free() local
/libcore/ojluni/annotations/mmodule/sun/nio/ch/
DDirectBuffer.annotated.java38 public sun.misc.Cleaner cleaner(); in cleaner() method
/libcore/ojluni/annotations/hiddenapi/sun/nio/ch/
DDirectBuffer.java39 public sun.misc.Cleaner cleaner(); in cleaner() method
/libcore/luni/src/main/java/libcore/util/
DNativeAllocationRegistry.java245 Cleaner cleaner = Cleaner.create(referent, thunk); in registerNativeAllocation() local
279 private final Cleaner cleaner; field in NativeAllocationRegistry.CleanerRunner
281 public CleanerRunner(Cleaner cleaner) { in CleanerRunner()
/libcore/luni/src/test/java/libcore/java/lang/ref/
DReferenceQueueTest.java115 Cleaner cleaner = Cleaner.create(object, new Runnable() { in testCleanersCleaned() local
/libcore/luni/src/test/java/libcore/libcore/util/
DNativeAllocationRegistryTest.java157 Runnable cleaner = registry.registerNativeAllocation(referent, nativePtr); in testEarlyFree() local
/libcore/ojluni/annotations/mmodule/java/nio/
DDirectByteBuffer.annotated.java40 public final sun.misc.Cleaner cleaner() { throw new RuntimeException("Stub!"); } in cleaner() method in DirectByteBuffer
/libcore/ojluni/annotations/hiddenapi/java/nio/
DDirectByteBuffer.java83 public final sun.misc.Cleaner cleaner() { in cleaner() method in DirectByteBuffer
431 final sun.misc.Cleaner cleaner; field in DirectByteBuffer

12