Home
last modified time | relevance | path

Searched refs:newCachedThreadPool (Results 1 – 22 of 22) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DExecutorCompletionServiceTest.java54 ExecutorService e = Executors.newCachedThreadPool(); in testConstructorNPE2()
64 final ExecutorService e = Executors.newCachedThreadPool(); in testSubmitNPE()
79 final ExecutorService e = Executors.newCachedThreadPool(); in testSubmitNPE2()
94 final ExecutorService e = Executors.newCachedThreadPool(); in testTake()
108 final ExecutorService e = Executors.newCachedThreadPool(); in testTake2()
122 final ExecutorService e = Executors.newCachedThreadPool(); in testPoll1()
145 final ExecutorService e = Executors.newCachedThreadPool(); in testPoll2()
DExecutorsTest.java46 final ExecutorService e = Executors.newCachedThreadPool(); in testNewCachedThreadPool1()
58 final ExecutorService e = Executors.newCachedThreadPool(new SimpleThreadFactory()); in testNewCachedThreadPool2()
71 ExecutorService e = Executors.newCachedThreadPool(null); in testNewCachedThreadPool3()
279 Executors.newCachedThreadPool(), in testTimedCallable()
DCollection8Test.java82 final ExecutorService pool = Executors.newCachedThreadPool(); in testForEachConcurrentStressTest()
DLongAccumulatorTest.java127 final ExecutorService pool = Executors.newCachedThreadPool(); in testAccumulateAndGetMT()
DDoubleAccumulatorTest.java127 final ExecutorService pool = Executors.newCachedThreadPool(); in testAccumulateAndGetMT()
DDoubleAdderTest.java139 final ExecutorService pool = Executors.newCachedThreadPool(); in testAddAndSumMT()
DLongAdderTest.java162 final ExecutorService pool = Executors.newCachedThreadPool(); in testAddAndSumMT()
DJSR166TestCase.java937 ExecutorService pool = Executors.newCachedThreadPool();
/libcore/ojluni/src/test/java/util/concurrent/tck/
DExecutorsTest.java69 final ExecutorService e = Executors.newCachedThreadPool(); in testNewCachedThreadPool1()
81 final ExecutorService e = Executors.newCachedThreadPool(new SimpleThreadFactory()); in testNewCachedThreadPool2()
94 ExecutorService e = Executors.newCachedThreadPool(null); in testNewCachedThreadPool3()
302 Executors.newCachedThreadPool(), in testTimedCallable()
DDoubleAccumulatorTest.java150 final ExecutorService pool = Executors.newCachedThreadPool(); in testAccumulateAndGetMT()
DLongAccumulatorTest.java150 final ExecutorService pool = Executors.newCachedThreadPool(); in testAccumulateAndGetMT()
DDoubleAdderTest.java162 final ExecutorService pool = Executors.newCachedThreadPool(); in testAddAndSumMT()
DLongAdderTest.java185 final ExecutorService pool = Executors.newCachedThreadPool(); in testAddAndSumMT()
DCollection8Test.java684 final ExecutorService pool = Executors.newCachedThreadPool();
858 final ExecutorService pool = Executors.newCachedThreadPool();
DJSR166TestCase.java1072 ExecutorService pool = Executors.newCachedThreadPool();
/libcore/ojluni/src/main/java/sun/nio/ch/
DThreadPool.java121 ExecutorService executor = Executors.newCachedThreadPool(threadFactory); in createDefault()
/libcore/ojluni/src/test/java/security/KeyAgreement/
DMultiThreadTest.java116 executor = Executors.newCachedThreadPool(new ThreadFactory() { in runTest()
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DExecutors.java73 public static java.util.concurrent.ExecutorService newCachedThreadPool() { in newCachedThreadPool() method in Executors
77 public static java.util.concurrent.ExecutorService newCachedThreadPool( in newCachedThreadPool() method in Executors
/libcore/ojluni/src/main/java/java/util/concurrent/
DExecutors.java222 public static ExecutorService newCachedThreadPool() { in newCachedThreadPool() method in Executors
238 public static ExecutorService newCachedThreadPool(ThreadFactory threadFactory) { in newCachedThreadPool() method in Executors
/libcore/ojluni/src/main/java/java/lang/
DUNIXProcess.java121 return Executors.newCachedThreadPool
/libcore/luni/src/test/java/libcore/java/net/
DSocketTest.java569 executor = Executors.newCachedThreadPool(); in MockServer()
/libcore/api/
Dcurrent.txt15925 method public static java.util.concurrent.ExecutorService newCachedThreadPool();
15926 …method public static java.util.concurrent.ExecutorService newCachedThreadPool(java.util.concurrent…