Lines Matching refs:jvmti

55   TestData(jvmtiEnv* jvmti,  in TestData()
72 env, jvmti, jvmti->CreateRawMonitor("SuspendStopMonitor", &notify_monitor)); in TestData()
75 void PerformSuspend(jvmtiEnv* jvmti, JNIEnv* env) { in PerformSuspend()
77 JvmtiErrorToException(env, jvmti, jvmti->RawMonitorEnter(notify_monitor)); in PerformSuspend()
79 JvmtiErrorToException(env, jvmti, jvmti->RawMonitorNotifyAll(notify_monitor)); in PerformSuspend()
80 JvmtiErrorToException(env, jvmti, jvmti->RawMonitorExit(notify_monitor)); in PerformSuspend()
82 jvmti->SuspendThread(nullptr); in PerformSuspend()
86 void PerformSuspension(jvmtiEnv* jvmti, JNIEnv* env) { in PerformSuspension() argument
91 jvmti->GetThreadLocalStorage(/* thread */ nullptr, reinterpret_cast<void**>(&data)))) { in PerformSuspension()
95 data->PerformSuspend(jvmti, env); in PerformSuspension()
99 cbSingleStep(jvmtiEnv* jvmti, JNIEnv* env, jthread thr, jmethodID meth, jlocation loc) { in cbSingleStep() argument
102 env, jvmti, jvmti->GetThreadLocalStorage(thr, reinterpret_cast<void**>(&data)))) { in cbSingleStep()
109 data->PerformSuspend(jvmti, env); in cbSingleStep()
112 void JNICALL cbExceptionCatch(jvmtiEnv* jvmti, in cbExceptionCatch() argument
120 env, jvmti, jvmti->GetThreadLocalStorage(thr, reinterpret_cast<void**>(&data)))) { in cbExceptionCatch()
127 data->PerformSuspend(jvmti, env); in cbExceptionCatch()
130 void JNICALL cbException(jvmtiEnv* jvmti, in cbException() argument
140 env, jvmti, jvmti->GetThreadLocalStorage(thr, reinterpret_cast<void**>(&data)))) { in cbException()
147 data->PerformSuspend(jvmti, env); in cbException()
150 void JNICALL cbMethodEntry(jvmtiEnv* jvmti, JNIEnv* env, jthread thr, jmethodID method) { in cbMethodEntry() argument
153 env, jvmti, jvmti->GetThreadLocalStorage(thr, reinterpret_cast<void**>(&data)))) { in cbMethodEntry()
160 data->PerformSuspend(jvmti, env); in cbMethodEntry()
163 void JNICALL cbMethodExit(jvmtiEnv* jvmti, in cbMethodExit() argument
171 env, jvmti, jvmti->GetThreadLocalStorage(thr, reinterpret_cast<void**>(&data)))) { in cbMethodExit()
178 data->PerformSuspend(jvmti, env); in cbMethodExit()
181 void JNICALL cbFieldModification(jvmtiEnv* jvmti, in cbFieldModification() argument
193 env, jvmti, jvmti->GetThreadLocalStorage(thr, reinterpret_cast<void**>(&data)))) { in cbFieldModification()
201 data->PerformSuspend(jvmti, env); in cbFieldModification()
204 void JNICALL cbFieldAccess(jvmtiEnv* jvmti, in cbFieldAccess() argument
214 env, jvmti, jvmti->GetThreadLocalStorage(thr, reinterpret_cast<void**>(&data)))) { in cbFieldAccess()
222 data->PerformSuspend(jvmti, env); in cbFieldAccess()
226 cbBreakpointHit(jvmtiEnv* jvmti, JNIEnv* env, jthread thr, jmethodID method, jlocation loc) { in cbBreakpointHit() argument
229 env, jvmti, jvmti->GetThreadLocalStorage(thr, reinterpret_cast<void**>(&data)))) { in cbBreakpointHit()
235 if (JvmtiErrorToException(env, jvmti, jvmti->NotifyFramePop(thr, data->frame_pop_offset))) { in cbBreakpointHit()
244 data->PerformSuspend(jvmti, env); in cbBreakpointHit()
247 void JNICALL cbFramePop(jvmtiEnv* jvmti, in cbFramePop() argument
254 env, jvmti, jvmti->GetThreadLocalStorage(thr, reinterpret_cast<void**>(&data)))) { in cbFramePop()
258 data->PerformSuspend(jvmti, env); in cbFramePop()
261 void JNICALL cbClassLoadOrPrepare(jvmtiEnv* jvmti, JNIEnv* env, jthread thr, jclass klass) { in cbClassLoadOrPrepare() argument
264 env, jvmti, jvmti->GetThreadLocalStorage(thr, reinterpret_cast<void**>(&data)))) { in cbClassLoadOrPrepare()
269 if (JvmtiErrorToException(env, jvmti, jvmti->GetClassSignature(klass, &name, nullptr))) { in cbClassLoadOrPrepare()
274 env, jvmti, jvmti->Deallocate(reinterpret_cast<unsigned char*>(name)))) { in cbClassLoadOrPrepare()
279 data->PerformSuspend(jvmti, env); in cbClassLoadOrPrepare()