Lines Matching refs:JavaVM
40 using AgentUnloadFunction = jint (*)(JavaVM*);
55 JavaVM* real_vm;
61 ProxyJavaVM(JavaVM* vm, const std::string& agent_lib, PropMap* map) in ProxyJavaVM()
113 out->DestroyJavaVM = reinterpret_cast<jint (*)(JavaVM*)>(WrapDestroyJavaVM); in CreateInvokeInterface()
115 reinterpret_cast<jint(*)(JavaVM*, JNIEnv**, void*)>(WrapAttachCurrentThread); in CreateInvokeInterface()
116 out->DetachCurrentThread = reinterpret_cast<jint(*)(JavaVM*)>(WrapDetachCurrentThread); in CreateInvokeInterface()
117 out->GetEnv = reinterpret_cast<jint(*)(JavaVM*, void**, jint)>(WrapGetEnv); in CreateInvokeInterface()
119 reinterpret_cast<jint(*)(JavaVM*, JNIEnv**, void*)>(WrapAttachCurrentThreadAsDaemon); in CreateInvokeInterface()
305 static jint AgentStart(StartType start, JavaVM* vm, char* options, void* reserved) { in AgentStart()
326 extern "C" JNIEXPORT jint JNICALL Agent_OnAttach(JavaVM *vm, char* options, void* reserved) { in Agent_OnAttach()
332 extern "C" JNIEXPORT jint JNICALL Agent_OnLoad(JavaVM* jvm, char* options, void* reserved) { in Agent_OnLoad()
336 extern "C" JNIEXPORT void JNICALL Agent_OnUnload(JavaVM* jvm) { in Agent_OnUnload()