Lines Matching refs:jvmti
39 static void VMInitCB(jvmtiEnv* jvmti, JNIEnv* env, jthread thr ATTRIBUTE_UNUSED) { in VMInitCB() argument
41 jvmtiError err = jvmti->GetEnvironmentLocalStorage(reinterpret_cast<void**>(&all_targets)); in VMInitCB()
62 err = jvmti->SetBreakpoint(m, target.location); in VMInitCB()
354 jvmtiEnv* jvmti = nullptr; in AgentStart() local
358 res = vm->GetEnv(reinterpret_cast<void**>(&jvmti), JVMTI_VERSION_1_1); in AgentStart()
360 if (res != JNI_OK || jvmti == nullptr) { in AgentStart()
367 error = jvmti->Allocate(sizeof(BreakpointTargets), in AgentStart()
375 error = jvmti->SetEnvironmentLocalStorage(data); in AgentStart()
391 error = jvmti->AddCapabilities(&caps); in AgentStart()
401 error = jvmti->SetEventCallbacks(&callbacks, static_cast<jint>(sizeof(callbacks))); in AgentStart()
408 error = jvmti->SetEventNotificationMode(JVMTI_ENABLE, in AgentStart()
423 VMInitCB(jvmti, env, nullptr); in AgentStart()
425 error = jvmti->SetEventNotificationMode(JVMTI_ENABLE, in AgentStart()