Lines Matching refs:thread
38 jthread thread; in name() local
42 thread = inStream_readThreadRef(env, in); in name()
47 if (threadControl_isDebugThread(thread)) { in name()
60 (gdata->jvmti, thread, &info); in name()
80 jthread thread; in suspend() local
82 thread = inStream_readThreadRef(getEnv(), in); in suspend()
87 if (threadControl_isDebugThread(thread)) { in suspend()
91 error = threadControl_suspendThread(thread, JNI_FALSE); in suspend()
102 jthread thread; in resume() local
104 thread = inStream_readThreadRef(getEnv(), in); in resume()
109 if (threadControl_isDebugThread(thread)) { in resume()
115 error = threadControl_resumeThread(thread, JNI_TRUE); in resume()
128 jthread thread; in status() local
130 thread = inStream_readThreadRef(getEnv(), in); in status()
135 if (threadControl_isDebugThread(thread)) { in status()
140 error = threadControl_applicationThreadStatus(thread, &threadStatus, in status()
155 jthread thread; in threadGroup() local
159 thread = inStream_readThreadRef(env, in); in threadGroup()
164 if (threadControl_isDebugThread(thread)) { in threadGroup()
177 (gdata->jvmti, thread, &info); in threadGroup()
194 validateSuspendedThread(PacketOutputStream *out, jthread thread) in validateSuspendedThread() argument
199 error = threadControl_suspendCount(thread, &count); in validateSuspendedThread()
220 jthread thread; in frames() local
226 thread = inStream_readThreadRef(env, in); in frames()
239 if (threadControl_isDebugThread(thread)) { in frames()
244 if (!validateSuspendedThread(out, thread)) { in frames()
249 (gdata->jvmti, thread, &count); in frames()
286 (gdata->jvmti, thread, fnum, &method, &location); in frames()
295 frame = createFrameID(thread, fnum); in frames()
319 jthread thread; in getFrameCount() local
321 thread = inStream_readThreadRef(getEnv(), in); in getFrameCount()
326 if (threadControl_isDebugThread(thread)) { in getFrameCount()
331 if (!validateSuspendedThread(out, thread)) { in getFrameCount()
336 (gdata->jvmti, thread, &count); in getFrameCount()
350 jthread thread; in ownedMonitors() local
354 thread = inStream_readThreadRef(env, in); in ownedMonitors()
359 if (threadControl_isDebugThread(thread)) { in ownedMonitors()
364 if (!validateSuspendedThread(out, thread)) { in ownedMonitors()
375 (gdata->jvmti, thread, &count, &monitors); in ownedMonitors()
399 jthread thread; in currentContendedMonitor() local
403 thread = inStream_readThreadRef(env, in); in currentContendedMonitor()
408 if (thread == NULL || threadControl_isDebugThread(thread)) { in currentContendedMonitor()
413 if (!validateSuspendedThread(out, thread)) { in currentContendedMonitor()
423 (gdata->jvmti, thread, &monitor); in currentContendedMonitor()
441 jthread thread; in stop() local
446 thread = inStream_readThreadRef(env, in); in stop()
455 if (threadControl_isDebugThread(thread)) { in stop()
460 error = threadControl_stop(thread, throwable); in stop()
471 jthread thread; in interrupt() local
473 thread = inStream_readThreadRef(getEnv(), in); in interrupt()
478 if (threadControl_isDebugThread(thread)) { in interrupt()
483 error = threadControl_interrupt(thread); in interrupt()
495 jthread thread; in suspendCount() local
497 thread = inStream_readThreadRef(getEnv(), in); in suspendCount()
502 if (threadControl_isDebugThread(thread)) { in suspendCount()
507 error = threadControl_suspendCount(thread, &count); in suspendCount()
521 jthread thread; in ownedMonitorsWithStackDepth() local
523 thread = inStream_readThreadRef(getEnv(), in); in ownedMonitorsWithStackDepth()
528 if (thread == NULL || threadControl_isDebugThread(thread)) { in ownedMonitorsWithStackDepth()
533 if (!validateSuspendedThread(out, thread)) { in ownedMonitorsWithStackDepth()
546 (gdata->jvmti, thread, &count, &monitors); in ownedMonitorsWithStackDepth()
573 jthread thread; in forceEarlyReturn() local
579 thread = inStream_readThreadRef(env, in); in forceEarlyReturn()
584 if (threadControl_isDebugThread(thread)) { in forceEarlyReturn()
597 (gdata->jvmti, thread, value.l); in forceEarlyReturn()
602 (gdata->jvmti, thread); in forceEarlyReturn()
607 (gdata->jvmti, thread, value.b); in forceEarlyReturn()
613 (gdata->jvmti, thread, value.c); in forceEarlyReturn()
619 (gdata->jvmti, thread, value.f); in forceEarlyReturn()
625 (gdata->jvmti, thread, value.d); in forceEarlyReturn()
631 (gdata->jvmti, thread, value.i); in forceEarlyReturn()
637 (gdata->jvmti, thread, value.j); in forceEarlyReturn()
643 (gdata->jvmti, thread, value.s); in forceEarlyReturn()
649 (gdata->jvmti, thread, value.z); in forceEarlyReturn()