Lines Matching refs:nthreads
875 int nthreads = 0;
882 nthreads = tle.num_threads();
883 *threads_count_ptr = nthreads;
885 if (nthreads == 0) {
890 thread_objs = NEW_RESOURCE_ARRAY(Handle, nthreads);
893 for (int i=0; i < nthreads; i++) {
898 jthread *jthreads = new_jthreadArray(nthreads, thread_objs);
1396 int nthreads = 0;
1407 nthreads = java_lang_ThreadGroup::nthreads(group_hdl());
1410 if (nthreads > 0) {
1412 assert(nthreads <= threads->length(), "too many threads");
1413 thread_objs = NEW_RESOURCE_ARRAY(Handle,nthreads);
1414 for (int i=0, j=0; i<nthreads; i++) {
1425 nthreads -= hidden_threads;
1441 *thread_count_ptr = nthreads;
1442 *threads_ptr = new_jthreadArray(nthreads, thread_objs);
1444 if ((nthreads > 0) && (*threads_ptr == NULL)) {