Lines Matching defs:thread

36 getFrameCount(jthread thread)
42 (gdata->jvmti, thread, &count);
59 * per thread.
62 enableStepping(jthread thread)
66 LOG_STEP(("enableStepping: thread=%p", thread));
69 thread);
76 disableStepping(jthread thread)
80 LOG_STEP(("disableStepping: thread=%p", thread));
83 thread);
90 getFrameLocation(jthread thread,
100 (gdata->jvmti, thread, 0, pmethod, plocation);
130 findLineNumber(jthread thread, jlocation location,
166 initState(JNIEnv *env, jthread thread, StepRequest *step)
176 step->fromStackDepth = getFrameCount(thread);
197 (gdata->jvmti, thread, 0);
227 error = getFrameLocation(thread, &clazz, &method, &location);
244 step->fromLine = findLineNumber(thread, location,
266 jthread thread = evinfo->thread;
270 step = threadControl_getStepRequest(thread);
284 currentDepth = getFrameCount(thread);
335 enableStepping(thread);
343 enableStepping(thread);
353 enableStepping(thread);
369 jthread thread = evinfo->thread;
373 step = threadControl_getStepRequest(thread);
383 jint currentDepth = getFrameCount(thread);
405 enableStepping(thread);
412 enableStepping(thread);
421 enableStepping(thread);
436 jthread thread;
438 thread = evinfo->thread;
442 step = threadControl_getStepRequest(thread);
452 LOG_STEP(("handleMethodEnterEvent: thread=%p", thread));
472 enableStepping(thread);
486 completeStep(JNIEnv *env, jthread thread, StepRequest *step)
494 LOG_STEP(("completeStep: thread=%p", thread));
501 error = initState(env, thread, step);
512 stepControl_handleStep(JNIEnv *env, jthread thread,
525 step = threadControl_getStepRequest(thread);
537 LOG_STEP(("stepControl_handleStep: thread=%p", thread));
564 currentDepth = getFrameCount(thread);
594 disableStepping(thread);
600 handleMethodEnterEvent, thread);
608 (gdata->jvmti, thread, 0);
634 error = getFrameLocation(thread,
646 thread, method, location);
647 line = findLineNumber(thread, location,
678 completeStep(env, thread, step);
700 stepControl_resetRequest(jthread thread)
706 LOG_STEP(("stepControl_resetRequest: thread=%p", thread));
710 step = threadControl_getStepRequest(thread);
715 error = initState(env, thread, step);
727 initEvents(jthread thread, StepRequest *step)
741 thread);
745 thread);
769 enableStepping(thread);
773 enableStepping(thread);
779 enableStepping(thread);
788 stepControl_beginStep(JNIEnv *env, jthread thread, jint size, jint depth,
795 LOG_STEP(("stepControl_beginStep: thread=%p,size=%d,depth=%d",
796 thread, size, depth));
801 step = threadControl_getStepRequest(thread);
809 * In case the thread isn't already suspended, do it again.
811 error = threadControl_suspendThread(thread, JNI_FALSE);
822 error = initState(env, thread, step);
824 initEvents(thread, step);
826 /* false means it is not okay to unblock the commandLoop thread */
827 error2 = threadControl_resumeThread(thread, JNI_FALSE);
839 EXIT_ERROR(error, "stepControl_beginStep: cannot suspend thread");
851 clearStep(jthread thread, StepRequest *step)
855 disableStepping(thread);
880 stepControl_endStep(jthread thread)
885 LOG_STEP(("stepControl_endStep: thread=%p", thread));
890 step = threadControl_getStepRequest(thread);
892 clearStep(thread, step);
895 /* If the stepRequest can't be gotten, then this thread no longer
897 * termination time. Return JVMTI_ERROR_NONE so the thread Ref
910 stepControl_clearRequest(jthread thread, StepRequest *step)
912 LOG_STEP(("stepControl_clearRequest: thread=%p", thread));
913 clearStep(thread, step);