Home
last modified time | relevance | path

Searched refs:quittingTime (Results 1 – 7 of 7) sorted by relevance

/libcore/ojluni/src/test/java/util/Collections/
DRacingCollections.java195 final long quittingTime; field in RacingCollections.Looper
199 quittingTime = System.nanoTime() + workTimeMillis * 1024 * 1024; in Looper()
202 return (i++ % 128 != 0) || (System.nanoTime() - quittingTime < 0); in keepGoing()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DAbstractExecutorServiceTest.java222 final CountDownLatch quittingTime = new CountDownLatch(1); in testInterruptedSubmit() local
225 assertTrue(quittingTime.await(2*LONG_DELAY_MS, MILLISECONDS)); in testInterruptedSubmit()
231 try (PoolCleaner cleaner = cleaner(p, quittingTime)) { in testInterruptedSubmit() argument
DForkJoinPoolTest.java591 final CountDownLatch quittingTime = new CountDownLatch(1); in testInterruptedSubmit() local
594 assertTrue(quittingTime.await(2*LONG_DELAY_MS, MILLISECONDS)); in testInterruptedSubmit()
598 try (PoolCleaner cleaner = cleaner(p, quittingTime)) { in testInterruptedSubmit() argument
DJSR166TestCase.java1748 } catch (InterruptedException quittingTime) {}
/libcore/jsr166-tests/src/test/java/jsr166/
DAbstractExecutorServiceTest.java199 final CountDownLatch quittingTime = new CountDownLatch(1); in testInterruptedSubmit() local
202 assertTrue(quittingTime.await(2*LONG_DELAY_MS, MILLISECONDS)); in testInterruptedSubmit()
208 try (PoolCleaner cleaner = cleaner(p, quittingTime)) { in testInterruptedSubmit() argument
DForkJoinPoolTest.java573 final CountDownLatch quittingTime = new CountDownLatch(1); in testInterruptedSubmit() local
576 assertTrue(quittingTime.await(2*LONG_DELAY_MS, MILLISECONDS)); in testInterruptedSubmit()
580 try (PoolCleaner cleaner = cleaner(p, quittingTime)) { in testInterruptedSubmit() argument
DJSR166TestCase.java1476 } catch (InterruptedException quittingTime) {}