Searched refs:threadCount (Results 1 - 20 of 20) sorted by relevance

/openjdk7/jdk/test/java/lang/ThreadLocal/
H A DBasic.java39 int threadCount = 100;
40 Thread th[] = new Thread[threadCount];
41 final int x[] = new int[threadCount];
44 for(int i=0; i<threadCount; i++) {
58 for(int i=0; i<threadCount; i++)
62 for(int i=0; i<threadCount; i++)
H A DTLRemoveTest.java41 int threadCount = 100;
47 Thread th[] = new Thread[threadCount];
48 final int x[] = new int[threadCount];
49 final Throwable exceptions[] = new Throwable[threadCount];
51 for(int i = 0; i<threadCount; i++) {
88 for(int i = 0; i<threadCount; i++)
92 for(int i = 0; i<threadCount; i++){
/openjdk7/jdk/test/java/lang/InheritableThreadLocal/
H A DBasic.java41 static int threadCount = 100; field in class:Basic
45 x = new int[threadCount];
53 for(int i=0; i<threadCount; i++)
61 if (((Integer)(n.get())).intValue() < threadCount-1) {
H A DITLRemoveTest.java44 static int threadCount = 100; field in class:ITLRemoveTest
53 x = new int[threadCount];
54 exceptions = new Throwable[threadCount];
62 for(int i = 0; i<threadCount; i++){
93 if (threadId < (threadCount-1+INITIAL_VALUE)) {
/openjdk7/jdk/test/java/util/concurrent/ThreadPoolExecutor/
H A DCustom.java53 super(threadCount, threadCount,
55 new ArrayBlockingQueue<Runnable>(2*threadCount));
68 super(threadCount);
92 private static final int threadCount = 10; field in class:Custom
96 equal(tpe.getCorePoolSize(), threadCount);
98 for (int i = 0; i < threadCount; i++)
100 equal(countExecutorThreads(), threadCount);
101 equal(CustomTask.births.get(), threadCount);
108 for (int i = 0; i < threadCount;
[all...]
H A DCoreThreadTimeOut.java63 final int threadCount = 10;
66 = new ArrayBlockingQueue<Runnable>(2*threadCount);
68 = new ThreadPoolExecutor(threadCount, threadCount,
71 equal(tpe.getCorePoolSize(), threadCount);
77 for (int i = 0; i < threadCount; i++)
81 equal(count, threadCount);
/openjdk7/jdk/test/java/util/concurrent/SynchronousQueue/
H A DFairness.java40 final int threadCount = 10;
43 for (int i = 0; i < threadCount; i++) {
58 for (int i = 0; i < threadCount; i++) {
61 if (fair ? j != i : j != threadCount - 1 - i)
/openjdk7/jdk/src/share/back/
H A DThreadGroupReferenceImpl.c103 jint threadCount; local
109 &threadCount,&theThreads,
118 threadCount = filterDebugThreads(theThreads, threadCount);
120 (void)outStream_writeInt(out, threadCount);
121 for (i = 0; i < threadCount; i++) {
H A DVirtualMachineImpl.c496 jint threadCount; local
499 theThreads = allThreads(&threadCount);
504 threadCount = filterDebugThreads(theThreads, threadCount);
506 (void)outStream_writeInt(out, threadCount);
507 for (i = 0; i <threadCount; i++) {
H A DthreadControl.c813 jint threadCount; local
816 threads = allThreads(&threadCount);
823 for (i = 0; i < threadCount; i++) {
/openjdk7/jdk/test/java/lang/management/ThreadMXBean/
H A DThreadLists.java51 int threadCount = threadBean.getThreadCount();
56 System.out.println("ThreadMXBean: " + threadCount + " live threads(s)");
62 if (activeCount != threadCount) failed = true;
/openjdk7/jdk/test/java/io/BufferedReader/
H A DReadLineSync.java50 int threadCount = 2;
52 ExecutorService es = Executors.newFixedThreadPool(threadCount);
54 for (int i=0; i < threadCount; i++)
/openjdk7/jdk/test/java/util/Random/
H A DDistinctSeeds.java61 final int threadCount = 2;
64 for (int i = 0; i < threadCount; i++) {
/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DAsynchronousChannelGroupImpl.java58 private final AtomicInteger threadCount = new AtomicInteger(); field in class:AsynchronousChannelGroupImpl
133 threadCount.incrementAndGet();
141 threadCount.incrementAndGet();
149 final int threadCount() { method in class:AsynchronousChannelGroupImpl
150 return threadCount.get();
166 return threadCount.get();
171 return threadCount.decrementAndGet();
/openjdk7/jdk/src/solaris/classes/sun/nio/ch/
H A DSolarisEventPort.java120 int nThreads = threadCount();
H A DEPollPort.java159 int nThreads = threadCount();
H A DKQueuePort.java157 int nThreads = threadCount();
/openjdk7/hotspot/agent/src/share/native/jvmdi/
H A Dsa.cpp303 jint threadCount; local
305 if (jvmdi->GetAllThreads(&threadCount, &threads) != JVMDI_ERROR_NONE) {
311 for (int i = 0; i < threadCount; i++) {
/openjdk7/jdk/src/windows/classes/sun/nio/ch/
H A DIocp.java205 int nThreads = threadCount();
/openjdk7/jdk/test/java/util/concurrent/ConcurrentQueues/
H A DRemovePollRace.java128 final int threadCount = adderCount + removerCount + pollerCount;

Completed in 100 milliseconds