Lines Matching refs:thread
36 getFrameCount(jthread thread) in getFrameCount() argument
42 (gdata->jvmti, thread, &count); in getFrameCount()
62 enableStepping(jthread thread) in enableStepping() argument
66 LOG_STEP(("enableStepping: thread=%p", thread)); in enableStepping()
69 thread); in enableStepping()
76 disableStepping(jthread thread) in disableStepping() argument
80 LOG_STEP(("disableStepping: thread=%p", thread)); in disableStepping()
83 thread); in disableStepping()
90 getFrameLocation(jthread thread, in getFrameLocation() argument
100 (gdata->jvmti, thread, 0, pmethod, plocation); in getFrameLocation()
130 findLineNumber(jthread thread, jlocation location, in findLineNumber() argument
166 initState(JNIEnv *env, jthread thread, StepRequest *step) in initState() argument
176 step->fromStackDepth = getFrameCount(thread); in initState()
197 (gdata->jvmti, thread, 0); in initState()
227 error = getFrameLocation(thread, &clazz, &method, &location); in initState()
244 step->fromLine = findLineNumber(thread, location, in initState()
266 jthread thread = evinfo->thread; in handleFramePopEvent() local
270 step = threadControl_getStepRequest(thread); in handleFramePopEvent()
284 currentDepth = getFrameCount(thread); in handleFramePopEvent()
335 enableStepping(thread); in handleFramePopEvent()
343 enableStepping(thread); in handleFramePopEvent()
353 enableStepping(thread); in handleFramePopEvent()
369 jthread thread = evinfo->thread; in handleExceptionCatchEvent() local
373 step = threadControl_getStepRequest(thread); in handleExceptionCatchEvent()
383 jint currentDepth = getFrameCount(thread); in handleExceptionCatchEvent()
405 enableStepping(thread); in handleExceptionCatchEvent()
412 enableStepping(thread); in handleExceptionCatchEvent()
421 enableStepping(thread); in handleExceptionCatchEvent()
436 jthread thread; in handleMethodEnterEvent() local
438 thread = evinfo->thread; in handleMethodEnterEvent()
442 step = threadControl_getStepRequest(thread); in handleMethodEnterEvent()
452 LOG_STEP(("handleMethodEnterEvent: thread=%p", thread)); in handleMethodEnterEvent()
472 enableStepping(thread); in handleMethodEnterEvent()
486 completeStep(JNIEnv *env, jthread thread, StepRequest *step) in completeStep() argument
494 LOG_STEP(("completeStep: thread=%p", thread)); in completeStep()
501 error = initState(env, thread, step); in completeStep()
512 stepControl_handleStep(JNIEnv *env, jthread thread, in stepControl_handleStep() argument
525 step = threadControl_getStepRequest(thread); in stepControl_handleStep()
537 LOG_STEP(("stepControl_handleStep: thread=%p", thread)); in stepControl_handleStep()
564 currentDepth = getFrameCount(thread); in stepControl_handleStep()
594 disableStepping(thread); in stepControl_handleStep()
600 handleMethodEnterEvent, thread); in stepControl_handleStep()
608 (gdata->jvmti, thread, 0); in stepControl_handleStep()
634 error = getFrameLocation(thread, in stepControl_handleStep()
646 thread, method, location); in stepControl_handleStep()
647 line = findLineNumber(thread, location, in stepControl_handleStep()
678 completeStep(env, thread, step); in stepControl_handleStep()
700 stepControl_resetRequest(jthread thread) in stepControl_resetRequest() argument
706 LOG_STEP(("stepControl_resetRequest: thread=%p", thread)); in stepControl_resetRequest()
710 step = threadControl_getStepRequest(thread); in stepControl_resetRequest()
715 error = initState(env, thread, step); in stepControl_resetRequest()
727 initEvents(jthread thread, StepRequest *step) in initEvents() argument
741 thread); in initEvents()
745 thread); in initEvents()
769 enableStepping(thread); in initEvents()
773 enableStepping(thread); in initEvents()
779 enableStepping(thread); in initEvents()
788 stepControl_beginStep(JNIEnv *env, jthread thread, jint size, jint depth, in stepControl_beginStep() argument
796 thread, size, depth)); in stepControl_beginStep()
801 step = threadControl_getStepRequest(thread); in stepControl_beginStep()
811 error = threadControl_suspendThread(thread, JNI_FALSE); in stepControl_beginStep()
822 error = initState(env, thread, step); in stepControl_beginStep()
824 initEvents(thread, step); in stepControl_beginStep()
827 error2 = threadControl_resumeThread(thread, JNI_FALSE); in stepControl_beginStep()
851 clearStep(jthread thread, StepRequest *step) in clearStep() argument
855 disableStepping(thread); in clearStep()
880 stepControl_endStep(jthread thread) in stepControl_endStep() argument
885 LOG_STEP(("stepControl_endStep: thread=%p", thread)); in stepControl_endStep()
890 step = threadControl_getStepRequest(thread); in stepControl_endStep()
892 clearStep(thread, step); in stepControl_endStep()
910 stepControl_clearRequest(jthread thread, StepRequest *step) in stepControl_clearRequest() argument
912 LOG_STEP(("stepControl_clearRequest: thread=%p", thread)); in stepControl_clearRequest()
913 clearStep(thread, step); in stepControl_clearRequest()