Lines Matching defs:threads
85 // Runtime isn't started. We only expect at most the signal handler or JIT threads to be
593 // Skip threads that are still starting.
613 jthread* threads = reinterpret_cast<jthread*>(data);
615 threads[i] = soa.AddLocalReference<jthread>(peers[i]);
619 *threads_ptr = threads;
768 // The runtime is shutting down so we cannot create new threads.
770 // JVMTI_PHASE_DEAD so we cannot return ERR(WRONG_PHASE) but creating new threads is now
984 // Suspends all the threads in the list at the same time. Getting this behavior is a little tricky
985 // since we can have threads in the list multiple times. This generally doesn't matter unless the
992 const jthread* threads,
996 } else if (results == nullptr || threads == nullptr) {
999 // This is the list of the indexes in 'threads' and 'results' that correspond to the currently
1004 if (IsCurrentThread(threads[i])) {
1007 results[i] = env->SuspendThread(threads[i]);
1013 jvmtiError res = env->SuspendThread(threads[first_current_thread_index]);
1026 const jthread* threads,
1030 } else if (results == nullptr || threads == nullptr) {
1034 results[i] = env->ResumeThread(threads[i]);