Lines Matching refs:NUMBER_OF_THREADS
28 private static final int NUMBER_OF_THREADS = 16; field in TestInvokeCustomWithConcurrentThreads
41 private static final CallSite[] instantiated = new CallSite[NUMBER_OF_THREADS];
44 private static final AtomicInteger[] called = new AtomicInteger[NUMBER_OF_THREADS];
47 private static final AtomicInteger[] targetted = new AtomicInteger[NUMBER_OF_THREADS];
50 private static final CyclicBarrier barrier = new CyclicBarrier(NUMBER_OF_THREADS);
107 for (int i = 0; i < NUMBER_OF_THREADS; ++i) { in test()
113 Thread[] threads = new Thread[NUMBER_OF_THREADS]; in test()
114 for (int i = 0; i < NUMBER_OF_THREADS; ++i) { in test()
120 for (int i = 0; i < NUMBER_OF_THREADS; ++i) { in test()
127 for (int i = 0; i < NUMBER_OF_THREADS; ++i) { in test()
141 for (int i = 0; i < NUMBER_OF_THREADS; ++i) { in test()
149 if (votes != NUMBER_OF_THREADS) { in test()
151 for (int i = 0; i < NUMBER_OF_THREADS; ++i) { in test()
158 assertEquals(votes, NUMBER_OF_THREADS); in test()