/art/test/149-suspend-all-stress/src/ |
D | Main.java | 24 final Thread[] threads = new Thread[numberOfThreads]; in main() local 25 for (int t = 0; t < threads.length; t++) { in main() 26 threads[t] = new Thread(new Main()); in main() 27 threads[t].start(); in main() 29 for (Thread t : threads) { in main()
|
/art/test/597-deopt-busy-loop/src/ |
D | SimpleLoop.java | 28 final Thread[] threads = new Thread[numberOfThreads]; in main() local 29 for (int t = 0; t < threads.length; t++) { in main() 30 threads[t] = new Thread(new SimpleLoop(t)); in main() 31 threads[t].start(); in main() 33 for (Thread t : threads) { in main()
|
D | SimdLoop.java | 31 final Thread[] threads = new Thread[numberOfThreads]; in main() local 32 for (int t = 0; t < threads.length; t++) { in main() 33 threads[t] = new Thread(new SimdLoop(t)); in main() 34 threads[t].start(); in main() 36 for (Thread t : threads) { in main()
|
D | FloatLoop.java | 30 final Thread[] threads = new Thread[numberOfThreads]; in main() local 31 for (int t = 0; t < threads.length; t++) { in main() 32 threads[t] = new Thread(new FloatLoop(t)); in main() 33 threads[t].start(); in main() 35 for (Thread t : threads) { in main()
|
/art/test/911-get-stack-trace/src/art/ |
D | ThreadListTraces.java | 30 Thread threads[] = new Thread[N]; in doTest() local 41 threads[i] = t; in doTest() 63 threads[i].join(); in doTest() 67 public static void printList(Thread[] threads, int max) { in printList() argument 68 PrintThread.printAll(getThreadListStackTraces(threads, max)); in printList() 72 public static native Object[][] getThreadListStackTraces(Thread threads[], int max); in getThreadListStackTraces() argument
|
/art/test/626-const-class-linking/src/ |
D | Main.java | 123 final Thread[] threads = new Thread[4]; in testRacyLoader() local 124 final Object[] results = new Object[threads.length]; in testRacyLoader() 126 final RacyLoader racy_loader = new RacyLoader(system_loader, threads.length); in testRacyLoader() 130 for (int i = 0; i != threads.length; ++i) { in testRacyLoader() 145 threads[i] = t; in testRacyLoader() 147 for (Thread t : threads) { in testRacyLoader() 157 final Thread[] threads = new Thread[4]; in testRacyLoader2() local 158 final Object[] results = new Object[threads.length]; in testRacyLoader2() 160 final RacyLoader racy_loader = new RacyLoader(system_loader, threads.length); in testRacyLoader2() 166 for (int i = 0; i != threads.length; ++i) { in testRacyLoader2() [all …]
|
/art/test/304-method-tracing/src/ |
D | Main.java | 31 ArrayList<Thread> threads = new ArrayList<Thread>(); in main() local 33 threads.add(new Thread(new ThreadRunnable(), "TestThread-" + i)); in main() 36 for (Thread t : threads) { in main() 40 for (Thread t : threads) { in main()
|
/art/test/ti-agent/ |
D | suspension_helper.cc | 50 std::vector<jthread> threads(CopyToVector(env, thr)); in Java_art_Suspension_resumeList() local 54 jintArray ret = env->NewIntArray(threads.size()); in Java_art_Suspension_resumeList() 60 jvmti_env->ResumeThreadList(threads.size(), in Java_art_Suspension_resumeList() 61 threads.data(), in Java_art_Suspension_resumeList() 71 std::vector<jthread> threads(CopyToVector(env, thrs)); in Java_art_Suspension_suspendList() local 75 jintArray ret = env->NewIntArray(threads.size()); in Java_art_Suspension_suspendList() 81 jvmti_env->SuspendThreadList(threads.size(), in Java_art_Suspension_suspendList() 82 threads.data(), in Java_art_Suspension_suspendList()
|
/art/test/597-deopt-invoke-stub/src/ |
D | Main.java | 35 final Thread[] threads = new Thread[numberOfThreads]; in main() local 36 for (int t = 0; t < threads.length; t++) { in main() 37 threads[t] = new Thread(new Main(t)); in main() 38 threads[t].start(); in main() 40 for (Thread t : threads) { in main()
|
/art/test/597-deopt-new-string/src/ |
D | Main.java | 34 final Thread[] threads = new Thread[numberOfThreads]; in main() local 35 for (int t = 0; t < threads.length; t++) { in main() 36 threads[t] = new Thread(new Main(t)); in main() 37 threads[t].start(); in main() 39 for (Thread t : threads) { in main()
|
/art/test/145-alloc-tracking-stress/src-art/ |
D | Main.java | 47 final Thread[] threads = new Thread[numberOfThreads]; in main() local 48 for (int t = 0; t < threads.length; t++) { in main() 49 threads[t] = new Thread(new Main(t)); in main() 50 threads[t].start(); in main() 52 for (Thread t : threads) { in main()
|
/art/test/2005-pause-all-redefine-multithreaded/ |
D | pause-all.cc | 43 std::vector<jthread> threads; in Java_art_Test2005_UpdateFieldValuesAndResumeThreads() local 45 threads.push_back(env->GetObjectArrayElement(threads_arr, i)); in Java_art_Test2005_UpdateFieldValuesAndResumeThreads() 79 if (!threads.empty()) { in Java_art_Test2005_UpdateFieldValuesAndResumeThreads() 80 std::vector<jvmtiError> errs(threads.size(), JVMTI_ERROR_NONE); in Java_art_Test2005_UpdateFieldValuesAndResumeThreads() 81 CHECK_EQ(jvmti_env->ResumeThreadList(threads.size(), threads.data(), errs.data()), in Java_art_Test2005_UpdateFieldValuesAndResumeThreads()
|
D | info.txt | 1 Tests structural redefinition with multiple threads. 3 Tests that using the structural redefinition while pausing all other (main thread-group) threads 5 other threads are suspended, thus making them look initialized.
|
/art/test/114-ParallelGC/src/ |
D | Main.java | 38 Thread[] threads = new Thread[THREAD_COUNT]; in main() local 43 CyclicBarrier startBarrier = new CyclicBarrier(threads.length); in main() 45 for (int i = 0; i < threads.length; i++) { in main() 46 threads[i] = new Thread(new Main(startBarrier)); in main() 47 threads[i].start(); in main() 51 for (Thread thread : threads) { in main()
|
/art/test/051-thread/src/ |
D | Main.java | 43 TestCapacityThread[] threads = new TestCapacityThread[128]; in testThreadCapacity() local 44 for (int i = 0; i < threads.length; i++) { in testThreadCapacity() 45 threads[i] = new TestCapacityThread(); in testThreadCapacity() 48 for (TestCapacityThread thread : threads) { in testThreadCapacity() 51 for (TestCapacityThread thread : threads) { in testThreadCapacity() 168 Thread threads[] = new Thread[10]; in testMainThreadGroup() local 170 current.getThreadGroup().enumerate(threads); in testMainThreadGroup() 172 for (Thread t : threads) { in testMainThreadGroup() 178 throw new RuntimeException("Did not find main thread: " + Arrays.toString(threads)); in testMainThreadGroup()
|
/art/test/165-lock-owner-proxy/src/ |
D | Main.java | 36 final Thread[] threads = new Thread[numberOfThreads]; in main() local 37 for (int t = 0; t < threads.length; t++) { in main() 38 threads[t] = new Thread((t % 2 == 0) ? new ProxyRunner() : new SyncRunner()); in main() 40 for (Thread t : threads) { in main() 45 for (Thread t : threads) { in main()
|
/art/test/129-ThreadGetId/src/ |
D | Main.java | 25 final Thread[] threads = new Thread[numberOfThreads]; in main() local 26 for (int t = 0; t < threads.length; t++) { in main() 27 threads[t] = new Thread(new Main()); in main() 28 threads[t].start(); in main() 30 for (Thread t : threads) { in main()
|
/art/test/144-static-field-sigquit/ |
D | expected.txt | 1 Starting threads... 4 Joined threads
|
/art/test/1928-exception-event-exception/src/art/ |
D | Suspension.java | 28 public native static int[] suspendList(Thread... threads); in suspendList() argument 29 public native static int[] resumeList(Thread... threads); in resumeList() argument
|
/art/test/1920-suspend-native-monitor/src/art/ |
D | Suspension.java | 28 public native static int[] suspendList(Thread... threads); in suspendList() argument 29 public native static int[] resumeList(Thread... threads); in resumeList() argument
|
/art/test/1911-get-local-var-table/src/art/ |
D | Suspension.java | 28 public native static int[] suspendList(Thread... threads); in suspendList() argument 29 public native static int[] resumeList(Thread... threads); in resumeList() argument
|
/art/test/1904-double-suspend/src/art/ |
D | Suspension.java | 28 public native static int[] suspendList(Thread... threads); in suspendList() argument 29 public native static int[] resumeList(Thread... threads); in resumeList() argument
|
/art/test/1916-get-set-current-frame/src/art/ |
D | Suspension.java | 28 public native static int[] suspendList(Thread... threads); in suspendList() argument 29 public native static int[] resumeList(Thread... threads); in resumeList() argument
|
/art/test/1927-exception-event/src/art/ |
D | Suspension.java | 28 public native static int[] suspendList(Thread... threads); in suspendList() argument 29 public native static int[] resumeList(Thread... threads); in resumeList() argument
|
/art/test/1925-self-frame-pop/src/art/ |
D | Suspension.java | 28 public native static int[] suspendList(Thread... threads); in suspendList() argument 29 public native static int[] resumeList(Thread... threads); in resumeList() argument
|