Lines Matching defs:currentThread
296 JavaThread *currentThread, *previousThread;
316 currentThread = jt;
328 cycle->add_thread(currentThread);
330 currentThread = Threads::owning_thread_from_monitor_owner((address)waitingToLockMonitor->owner(),
336 currentThread = threadObj != NULL ? java_lang_Thread::thread(threadObj) : NULL;
338 currentThread = NULL;
343 if (currentThread == NULL) {
347 if (currentThread->depth_first_number() < 0) {
349 currentThread->set_depth_first_number(globalDfn++);
350 } else if (currentThread->depth_first_number() < thisDfn) {
353 } else if (currentThread == previousThread) {
372 previousThread = currentThread;
373 waitingToLockMonitor = (ObjectMonitor*)currentThread->current_pending_monitor();
375 waitingToLockBlocker = currentThread->current_park_blocker();
819 JavaThread* currentThread;
824 currentThread = _threads->at(i);
825 waitingToLockMonitor = (ObjectMonitor*)currentThread->current_pending_monitor();
826 waitingToLockBlocker = currentThread->current_park_blocker();
828 st->print_cr("\"%s\":", currentThread->get_thread_name());
837 if (!currentThread->current_pending_monitor_is_from_java()) {
844 currentThread = Threads::owning_thread_from_monitor_owner(
853 currentThread = java_lang_Thread::thread(ownerObj);
855 st->print("%s \"%s\"", owner_desc, currentThread->get_thread_name());
867 currentThread = _threads->at(j);
868 st->print_cr("\"%s\":", currentThread->get_thread_name());
869 currentThread->print_stack_on(st);