Lines Matching refs:jvmti
53 TestData(jvmtiEnv* jvmti, in TestData()
71 JvmtiErrorToException(env, jvmti, jvmti->CreateRawMonitor("SuspendStopMonitor", 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 JNICALL cbSingleStep(jvmtiEnv* jvmti, in cbSingleStep() argument
93 jvmti, in cbSingleStep()
94 jvmti->GetThreadLocalStorage(thr, reinterpret_cast<void**>(&data)))) { in cbSingleStep()
101 data->PerformSuspend(jvmti, env); in cbSingleStep()
104 void JNICALL cbExceptionCatch(jvmtiEnv *jvmti, in cbExceptionCatch() argument
112 jvmti, in cbExceptionCatch()
113 jvmti->GetThreadLocalStorage(thr, reinterpret_cast<void**>(&data)))) { in cbExceptionCatch()
120 data->PerformSuspend(jvmti, env); in cbExceptionCatch()
123 void JNICALL cbException(jvmtiEnv *jvmti, in cbException() argument
133 jvmti, in cbException()
134 jvmti->GetThreadLocalStorage(thr, reinterpret_cast<void**>(&data)))) { in cbException()
141 data->PerformSuspend(jvmti, env); in cbException()
144 void JNICALL cbMethodEntry(jvmtiEnv *jvmti, in cbMethodEntry() argument
150 jvmti, in cbMethodEntry()
151 jvmti->GetThreadLocalStorage(thr, reinterpret_cast<void**>(&data)))) { in cbMethodEntry()
158 data->PerformSuspend(jvmti, env); in cbMethodEntry()
161 void JNICALL cbMethodExit(jvmtiEnv *jvmti, in cbMethodExit() argument
169 jvmti, in cbMethodExit()
170 jvmti->GetThreadLocalStorage(thr, reinterpret_cast<void**>(&data)))) { in cbMethodExit()
177 data->PerformSuspend(jvmti, env); in cbMethodExit()
180 void JNICALL cbFieldModification(jvmtiEnv* jvmti, in cbFieldModification() argument
192 jvmti, in cbFieldModification()
193 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 jvmti, in cbFieldAccess()
215 jvmti->GetThreadLocalStorage(thr, reinterpret_cast<void**>(&data)))) { in cbFieldAccess()
223 data->PerformSuspend(jvmti, env); in cbFieldAccess()
226 void JNICALL cbBreakpointHit(jvmtiEnv* jvmti, in cbBreakpointHit() argument
233 jvmti, in cbBreakpointHit()
234 jvmti->GetThreadLocalStorage(thr, reinterpret_cast<void**>(&data)))) { in cbBreakpointHit()
241 jvmti, in cbBreakpointHit()
242 jvmti->NotifyFramePop(thr, data->frame_pop_offset))) { in cbBreakpointHit()
251 data->PerformSuspend(jvmti, env); in cbBreakpointHit()
254 void JNICALL cbFramePop(jvmtiEnv* jvmti, in cbFramePop() argument
261 jvmti, in cbFramePop()
262 jvmti->GetThreadLocalStorage(thr, reinterpret_cast<void**>(&data)))) { in cbFramePop()
266 data->PerformSuspend(jvmti, env); in cbFramePop()
269 void JNICALL cbClassLoadOrPrepare(jvmtiEnv* jvmti, in cbClassLoadOrPrepare() argument
275 jvmti, in cbClassLoadOrPrepare()
276 jvmti->GetThreadLocalStorage(thr, reinterpret_cast<void**>(&data)))) { in cbClassLoadOrPrepare()
281 if (JvmtiErrorToException(env, jvmti, jvmti->GetClassSignature(klass, &name, nullptr))) { in cbClassLoadOrPrepare()
286 jvmti, in cbClassLoadOrPrepare()
287 jvmti->Deallocate(reinterpret_cast<unsigned char*>(name)))) { in cbClassLoadOrPrepare()
293 data->PerformSuspend(jvmti, env); in cbClassLoadOrPrepare()