/art/test/ti-agent/ |
D | common_load.cc | 36 jint OnLoad(JavaVM* vm, char* options, void* reserved); 40 jint OnLoad(JavaVM* vm, char* options, void* reserved); 44 jint OnLoad(JavaVM* vm, char* options, void* reserved); 49 using OnLoad = jint (*)(JavaVM* vm, char* options, void* reserved); 50 using OnAttach = jint (*)(JavaVM* vm, char* options, void* reserved); 59 static jint MinimalOnLoad(JavaVM* vm, in MinimalOnLoad() 121 extern "C" JNIEXPORT jint JNICALL Agent_OnLoad(JavaVM* vm, char* options, void* reserved) { in Agent_OnLoad() 145 extern "C" JNIEXPORT jint JNICALL Agent_OnAttach(JavaVM* vm, char* options, void* reserved) { in Agent_OnAttach()
|
D | redefinition_helper.cc | 171 jint OnLoad(JavaVM* vm, in OnLoad() 328 JavaVM* vm = nullptr; in Java_art_Redefinition_doCommonClassRetransformation() 346 jint OnLoad(JavaVM* vm, in OnLoad() 362 jint OnLoad(JavaVM* vm, in OnLoad()
|
D | frame_pop_helper.cc | 108 JavaVM* vm; in Java_art_FramePop_makeJvmtiEnvForFramePop()
|
/art/tools/wrapagentproperties/ |
D | wrapagentproperties.cc | 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() 303 static jint AgentStart(StartType start, JavaVM* vm, char* options, void* reserved) { in AgentStart() 324 extern "C" JNIEXPORT jint JNICALL Agent_OnAttach(JavaVM *vm, char* options, void* reserved) { in Agent_OnAttach() [all …]
|
/art/test/900-hello-plugin/ |
D | load_unload.cc | 54 extern "C" JNIEXPORT jint JNICALL Agent_OnLoad(JavaVM* vm, in Agent_OnLoad() 70 extern "C" JNIEXPORT void JNICALL Agent_OnUnload(JavaVM* vm ATTRIBUTE_UNUSED) { in Agent_OnUnload()
|
/art/test/1919-vminit-thread-start-timing/ |
D | vminit.h | 25 jint OnLoad(JavaVM* vm, char* options, void* reserved);
|
/art/test/909-attach-agent/ |
D | attach.h | 25 jint OnAttach(JavaVM* vm, char* options, void* reserved);
|
D | attach.cc | 37 jint OnAttach(JavaVM* vm, in OnAttach()
|
/art/test/936-search-onload/ |
D | search_onload.h | 25 jint OnLoad(JavaVM* vm, char* options, void* reserved);
|
D | search_onload.cc | 36 jint OnLoad(JavaVM* vm, in OnLoad()
|
/art/test/901-hello-ti-agent/ |
D | basics.h | 25 jint OnLoad(JavaVM* vm, char* options, void* reserved);
|
/art/runtime/ |
D | scoped_thread_state_change.h | 114 explicit ScopedObjectAccessAlreadyRunnable(JavaVM* vm) in ScopedObjectAccessAlreadyRunnable() 157 explicit ScopedObjectAccessUnchecked(JavaVM* vm) ALWAYS_INLINE in ScopedObjectAccessUnchecked() 186 explicit ScopedObjectAccess(JavaVM* vm) SHARED_LOCK_FUNCTION(Locks::mutator_lock_) in ScopedObjectAccess()
|
D | scoped_thread_state_change.cc | 29 static_assert(std::is_base_of<JavaVM, JavaVMExt>::value, "JavaVMExt does not extend JavaVM");
|
D | java_vm_ext_test.cc | 50 JavaVM* vms_buf[1]; in TEST_F() 62 JavaVM* vms_buf[1]; in attach_current_thread_callback()
|
D | java_vm_ext.cc | 333 typedef void (*JNI_OnUnloadFn)(JavaVM*, void*); in UnloadNativeLibraries() 354 static jint DestroyJavaVM(JavaVM* vm) { in DestroyJavaVM() 364 static jint AttachCurrentThread(JavaVM* vm, JNIEnv** p_env, void* thr_args) { in AttachCurrentThread() 368 static jint AttachCurrentThreadAsDaemon(JavaVM* vm, JNIEnv** p_env, void* thr_args) { in AttachCurrentThreadAsDaemon() 372 static jint DetachCurrentThread(JavaVM* vm) { in DetachCurrentThread() 382 static jint GetEnv(JavaVM* vm, void** env, jint version) { in GetEnv() 396 …static jint AttachCurrentThreadInternal(JavaVM* vm, JNIEnv** p_env, void* raw_args, bool as_daemon… in AttachCurrentThreadInternal() 1022 typedef int (*JNI_OnLoadFn)(JavaVM*, void*); in LoadNativeLibrary() 1139 extern "C" jint JNI_CreateJavaVM(JavaVM** p_vm, JNIEnv** p_env, void* vm_args) { in JNI_CreateJavaVM() 1174 extern "C" jint JNI_GetCreatedJavaVMs(JavaVM** vms_buf, jsize buf_len, jsize* vm_count) { in JNI_GetCreatedJavaVMs()
|
/art/benchmark/ |
D | jni_loader.cc | 21 jint JNI_OnLoad(JavaVM* vm, void* /*reserved*/) { in JNI_OnLoad()
|
/art/runtime/ti/ |
D | agent.h | 86 using AgentOnLoadFunction = jint (*)(JavaVM*, const char*, void*); 87 using AgentOnUnloadFunction = void (*)(JavaVM*);
|
/art/test/136-daemon-jni-shutdown/ |
D | daemon_jni_shutdown.cc | 61 JavaVM* vm = down_cast<JNIEnvExt*>(env)->GetVm(); in Java_Main_destroyJavaVMAndExit()
|
/art/test/1941-dispose-stress/ |
D | dispose_stress.cc | 45 JavaVM* vm = nullptr; in Java_art_Test1941_AllocEnv()
|
/art/tools/titrace/ |
D | titrace.cc | 230 JNIEXPORT jint JNICALL Agent_OnAttach(JavaVM *vm, char* options, void* reserved) { in Agent_OnAttach() 235 JNIEXPORT jint JNICALL Agent_OnLoad(JavaVM* jvm, in Agent_OnLoad() 303 JNIEXPORT void JNICALL Agent_OnUnload(JavaVM* vm ATTRIBUTE_UNUSED) { in Agent_OnUnload()
|
/art/test/169-threadgroup-jni/ |
D | jni_daemon_thread.cc | 25 static JavaVM* vm = nullptr;
|
/art/test/1909-per-agent-tls/ |
D | agent_tls.cc | 59 JavaVM* vm = nullptr; in Java_art_Test1909_newJvmtiEnv()
|
/art/tools/breakpoint-logger/ |
D | breakpoint_logger.cc | 351 JavaVM* vm, in AgentStart() 437 extern "C" JNIEXPORT jint JNICALL Agent_OnAttach(JavaVM *vm, char* options, void* reserved) { in Agent_OnAttach() 442 extern "C" JNIEXPORT jint JNICALL Agent_OnLoad(JavaVM* jvm, char* options, void* reserved) { in Agent_OnLoad()
|
/art/test/905-object-free/ |
D | tracking_free.cc | 62 JavaVM* jvm = nullptr; in Java_art_Test905_setupObjectFreeCallback()
|
/art/dalvikvm/ |
D | dalvikvm.cc | 175 JavaVM* vm = nullptr; in dalvikvm()
|