Home
last modified time | relevance | path

Searched refs:JavaVM (Results 1 – 25 of 38) sorted by relevance

12

/art/test/ti-agent/
Dcommon_load.cc36 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()
Dredefinition_helper.cc171 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()
Dframe_pop_helper.cc108 JavaVM* vm; in Java_art_FramePop_makeJvmtiEnvForFramePop()
/art/tools/wrapagentproperties/
Dwrapagentproperties.cc40 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/
Dload_unload.cc54 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/
Dvminit.h25 jint OnLoad(JavaVM* vm, char* options, void* reserved);
/art/test/909-attach-agent/
Dattach.h25 jint OnAttach(JavaVM* vm, char* options, void* reserved);
Dattach.cc37 jint OnAttach(JavaVM* vm, in OnAttach()
/art/test/936-search-onload/
Dsearch_onload.h25 jint OnLoad(JavaVM* vm, char* options, void* reserved);
Dsearch_onload.cc36 jint OnLoad(JavaVM* vm, in OnLoad()
/art/test/901-hello-ti-agent/
Dbasics.h25 jint OnLoad(JavaVM* vm, char* options, void* reserved);
/art/runtime/
Dscoped_thread_state_change.h114 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()
Dscoped_thread_state_change.cc29 static_assert(std::is_base_of<JavaVM, JavaVMExt>::value, "JavaVMExt does not extend JavaVM");
Djava_vm_ext_test.cc50 JavaVM* vms_buf[1]; in TEST_F()
62 JavaVM* vms_buf[1]; in attach_current_thread_callback()
Djava_vm_ext.cc333 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/
Djni_loader.cc21 jint JNI_OnLoad(JavaVM* vm, void* /*reserved*/) { in JNI_OnLoad()
/art/runtime/ti/
Dagent.h86 using AgentOnLoadFunction = jint (*)(JavaVM*, const char*, void*);
87 using AgentOnUnloadFunction = void (*)(JavaVM*);
/art/test/136-daemon-jni-shutdown/
Ddaemon_jni_shutdown.cc61 JavaVM* vm = down_cast<JNIEnvExt*>(env)->GetVm(); in Java_Main_destroyJavaVMAndExit()
/art/test/1941-dispose-stress/
Ddispose_stress.cc45 JavaVM* vm = nullptr; in Java_art_Test1941_AllocEnv()
/art/tools/titrace/
Dtitrace.cc230 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/
Djni_daemon_thread.cc25 static JavaVM* vm = nullptr;
/art/test/1909-per-agent-tls/
Dagent_tls.cc59 JavaVM* vm = nullptr; in Java_art_Test1909_newJvmtiEnv()
/art/tools/breakpoint-logger/
Dbreakpoint_logger.cc351 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/
Dtracking_free.cc62 JavaVM* jvm = nullptr; in Java_art_Test905_setupObjectFreeCallback()
/art/dalvikvm/
Ddalvikvm.cc175 JavaVM* vm = nullptr; in dalvikvm()

12