/openjdk7/jdk/test/java/lang/ThreadLocal/ |
H A D | Basic.java | 39 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 D | TLRemoveTest.java | 41 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 D | Basic.java | 41 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 D | ITLRemoveTest.java | 44 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 D | Custom.java | 53 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 D | CoreThreadTimeOut.java | 63 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 D | Fairness.java | 40 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 D | ThreadGroupReferenceImpl.c | 103 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 D | VirtualMachineImpl.c | 496 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 D | threadControl.c | 813 jint threadCount; local 816 threads = allThreads(&threadCount); 823 for (i = 0; i < threadCount; i++) {
|
/openjdk7/jdk/test/java/lang/management/ThreadMXBean/ |
H A D | ThreadLists.java | 51 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 D | ReadLineSync.java | 50 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 D | DistinctSeeds.java | 61 final int threadCount = 2; 64 for (int i = 0; i < threadCount; i++) {
|
/openjdk7/jdk/src/share/classes/sun/nio/ch/ |
H A D | AsynchronousChannelGroupImpl.java | 58 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 D | SolarisEventPort.java | 120 int nThreads = threadCount();
|
H A D | EPollPort.java | 159 int nThreads = threadCount();
|
H A D | KQueuePort.java | 157 int nThreads = threadCount();
|
/openjdk7/hotspot/agent/src/share/native/jvmdi/ |
H A D | sa.cpp | 303 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 D | Iocp.java | 205 int nThreads = threadCount();
|
/openjdk7/jdk/test/java/util/concurrent/ConcurrentQueues/ |
H A D | RemovePollRace.java | 128 final int threadCount = adderCount + removerCount + pollerCount;
|