/openjdk7/jdk/test/java/util/concurrent/locks/ReentrantLock/ |
H A D | SimpleReentrantLockLoops.java | 80 private final int nthreads; field in class:SimpleReentrantLockLoops.ReentrantLockLoop 81 ReentrantLockLoop(int nthreads) { argument 82 this.nthreads = nthreads; 83 barrier = new CyclicBarrier(nthreads+1, timer); 87 for (int i = 0; i < nthreads; ++i) 93 long tpi = time / ((long)iters * nthreads);
|
H A D | TimeoutLockLoops.java | 81 private final int nthreads; field in class:TimeoutLockLoops.ReentrantLockLoop 82 ReentrantLockLoop(int nthreads) { argument 83 this.nthreads = nthreads; 84 barrier = new CyclicBarrier(nthreads+1, timer); 88 for (int i = 0; i < nthreads; ++i) {
|
H A D | CancelledLockLoops.java | 81 private final int nthreads; field in class:CancelledLockLoops.ReentrantLockLoop 82 ReentrantLockLoop(int nthreads) { argument 83 this.nthreads = nthreads; 84 barrier = new CyclicBarrier(nthreads+1, timer); 88 Thread[] threads = new Thread[nthreads];
|
H A D | LockOncePerThreadLoops.java | 51 static int nthreads = 100; field in class:LockOncePerThreadLoops 82 barrier = new CyclicBarrier(nthreads+1, timer); 88 for (int i = 0; i < nthreads; ++i)
|
/openjdk7/jdk/test/java/util/concurrent/FutureTask/ |
H A D | CancelledFutureLoops.java | 85 private final int nthreads; field in class:CancelledFutureLoops.FutureLoop 86 FutureLoop(int nthreads) { argument 87 this.nthreads = nthreads; 88 barrier = new CyclicBarrier(nthreads+1, timer); 92 Future[] futures = new Future[nthreads]; 93 for (int i = 0; i < nthreads; ++i) 99 for (int i = 1; i < nthreads; ++i) { 109 for (int i = 1; i < nthreads; ++i) {
|
/openjdk7/jdk/test/com/sun/jdi/ |
H A D | MultiBreakpointsTest.java | 44 * The current max allowed value of nthreads is 30. 71 int nthreads; 73 String nStr = System.getProperty("nthreads"); 76 throw new RuntimeException("nthreads = null in debuggee"); 78 nthreads = Integer.parseInt(nStr); 86 System.out.println("Debuggee: nthreads = " + nthreads + ", nhits = " + nhits); 88 MultiBreakpointsTarg ptr = new MultiBreakpointsTarg(nthreads, nhits); 90 // for (int i = 0; i < nthreads; i++) { 205 static int nthreads; field in class:MultiBreakpointsTest [all...] |
/openjdk7/jdk/test/java/util/concurrent/Exchanger/ |
H A D | ExchangeLoops.java | 121 static void oneRun(int nthreads, int iters) throws Exception { argument 123 CyclicBarrier barrier = new CyclicBarrier(nthreads + 1, timer); 126 for (int i = 0; i < nthreads; ++i) { 129 r = (i+2 < nthreads) ? new Exchanger<Int>() : null; 135 System.out.println(LoopHelpers.rightJustify(time / (iters * nthreads + iters * (nthreads-2))) + " ns per transfer");
|
/openjdk7/jdk/src/share/classes/java/lang/ |
H A D | ThreadGroup.java | 66 int nthreads; field in class:ThreadGroup 346 result = nthreads; 432 int nt = nthreads; 638 for (int i = 0 ; i < nthreads ; i++) { 692 for (int i = 0 ; i < nthreads ; i++) { 739 for (int i = 0 ; i < nthreads ; i++) { 774 if (destroyed || (nthreads > 0)) { 787 nthreads = 0; 842 if (nthreads == 0) { 845 if (daemon && (nthreads [all...] |
/openjdk7/hotspot/src/share/vm/prims/ |
H A D | jvmtiEnv.cpp | 724 int nthreads = 0; local 731 nthreads = tle.num_threads(); 732 *threads_count_ptr = nthreads; 734 if (nthreads == 0) { 739 thread_objs = NEW_RESOURCE_ARRAY(Handle, nthreads); 742 for (int i=0; i < nthreads; i++) { 747 jthread *jthreads = new_jthreadArray(nthreads, thread_objs); 1242 int nthreads = 0; local 1253 nthreads = java_lang_ThreadGroup::nthreads(group_hd [all...] |
/openjdk7/hotspot/src/share/vm/classfile/ |
H A D | javaClasses.hpp | 411 static int nthreads(oop java_thread_group);
|
H A D | javaClasses.cpp | 1029 int java_lang_ThreadGroup::nthreads(oop java_thread_group) { function in class:java_lang_ThreadGroup
|