Lines Matching refs:nthreads
724 int nthreads = 0;
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;
1253 nthreads = java_lang_ThreadGroup::nthreads(group_hdl());
1256 if (nthreads > 0) {
1258 assert(nthreads <= threads->length(), "too many threads");
1259 thread_objs = NEW_RESOURCE_ARRAY(Handle,nthreads);
1260 for (int i=0, j=0; i<nthreads; i++) {
1271 nthreads -= hidden_threads;
1287 *thread_count_ptr = nthreads;
1288 *threads_ptr = new_jthreadArray(nthreads, thread_objs);
1290 if ((nthreads > 0) && (*threads_ptr == NULL)) {