/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()
|
/art/tools/jvmti-agents/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() 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() [all …]
|
/art/tools/jvmti-agents/dump-jvmti-state/ |
D | dump-jvmti.cc | 47 static jint SetupJvmtiEnv(JavaVM* vm, jvmtiEnv** jvmti) { in SetupJvmtiEnv() 91 static jint AgentStart(JavaVM* vm, char* options ATTRIBUTE_UNUSED, void* reserved ATTRIBUTE_UNUSED)… in AgentStart() 106 extern "C" JNIEXPORT jint JNICALL Agent_OnAttach(JavaVM* vm, char* options, void* reserved) { in Agent_OnAttach() 111 extern "C" JNIEXPORT jint JNICALL Agent_OnLoad(JavaVM* jvm, char* options, void* reserved) { in Agent_OnLoad()
|
/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/tools/jvmti-agents/field-null-percent/ |
D | fieldnull.cc | 38 static JavaVM* java_vm = nullptr; 77 static jint SetupJvmtiEnv(JavaVM* vm, jvmtiEnv** jvmti) { in SetupJvmtiEnv() 169 static jint AgentStart(JavaVM* vm, char* options, bool is_onload) { in AgentStart() 204 extern "C" JNIEXPORT jint JNICALL Agent_OnAttach(JavaVM *vm, in Agent_OnAttach() 211 extern "C" JNIEXPORT jint JNICALL Agent_OnLoad(JavaVM* jvm, in Agent_OnLoad()
|
/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 | 30 static_assert(std::is_base_of<JavaVM, JavaVMExt>::value, "JavaVMExt does not extend JavaVM");
|
/art/tools/jvmti-agents/jit-load/ |
D | jitload.cc | 92 static jvmtiEnv* SetupJvmti(JavaVM* vm, const char* options) { in SetupJvmti() 120 extern "C" JNIEXPORT jint JNICALL Agent_OnLoad(JavaVM* vm, char* options, void* /* reserved */) { in Agent_OnLoad() 126 extern "C" JNIEXPORT jint JNICALL Agent_OnAttach(JavaVM *vm, char* options, void* /* reserved */) { in Agent_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/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/1919-vminit-thread-start-timing/ |
D | vminit.h | 25 jint OnLoad(JavaVM* vm, char* options, void* reserved);
|
/art/test/901-hello-ti-agent/ |
D | basics.h | 25 jint OnLoad(JavaVM* vm, char* options, void* reserved);
|
/art/benchmark/ |
D | jni_loader.cc | 21 jint JNI_OnLoad(JavaVM* vm, void* /*reserved*/) { in JNI_OnLoad()
|
/art/runtime/ti/ |
D | agent.h | 87 using AgentOnLoadFunction = jint (*)(JavaVM*, const char*, void*); 88 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/runtime/jni/ |
D | java_vm_ext.cc | 230 void UnloadBootNativeLibraries(JavaVM* vm) const NO_THREAD_SAFETY_ANALYSIS { in UnloadBootNativeLibraries() 362 static void UnloadLibraries(JavaVM* vm, const std::vector<SharedLibrary*>& libraries) { in UnloadLibraries() 363 using JNI_OnUnloadFn = void(*)(JavaVM*, void*); in UnloadLibraries() 383 static jint DestroyJavaVM(JavaVM* vm) { in DestroyJavaVM() 393 static jint AttachCurrentThread(JavaVM* vm, JNIEnv** p_env, void* thr_args) { in AttachCurrentThread() 397 static jint AttachCurrentThreadAsDaemon(JavaVM* vm, JNIEnv** p_env, void* thr_args) { in AttachCurrentThreadAsDaemon() 401 static jint DetachCurrentThread(JavaVM* vm) { in DetachCurrentThread() 411 static jint GetEnv(JavaVM* vm, void** env, jint version) { in GetEnv() 425 …static jint AttachCurrentThreadInternal(JavaVM* vm, JNIEnv** p_env, void* raw_args, bool as_daemon… in AttachCurrentThreadInternal() 1071 using JNI_OnLoadFn = int(*)(JavaVM*, void*); in LoadNativeLibrary() [all …]
|
D | java_vm_ext_test.cc | 50 JavaVM* vms_buf[1]; in TEST_F() 62 JavaVM* vms_buf[1]; in attach_current_thread_callback()
|
/art/test/1941-dispose-stress/ |
D | dispose_stress.cc | 45 JavaVM* vm = nullptr; in Java_art_Test1941_AllocEnv()
|
/art/tools/jvmti-agents/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() 308 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/jvmti-agents/simple-force-redefine/ |
D | forceredefine.cc | 266 static jint AgentStart(JavaVM* vm, char* options, void* reserved ATTRIBUTE_UNUSED) { in AgentStart() 308 extern "C" JNIEXPORT jint JNICALL Agent_OnAttach(JavaVM* vm, char* options, void* reserved) { in Agent_OnAttach() 313 extern "C" JNIEXPORT jint JNICALL Agent_OnLoad(JavaVM* jvm, char* options, void* reserved) { in Agent_OnLoad()
|