Home
last modified time | relevance | path

Searched refs:GetJavaVM (Results 1 – 25 of 33) sorted by relevance

12

/art/openjdkjvmti/
Dti_jni.cc67 if (runtime != nullptr && runtime->GetJavaVM() != nullptr) { in GetJNIFunctionTable()
68 check_jni = runtime->GetJavaVM()->IsCheckJniEnabled(); in GetJNIFunctionTable()
Dti_thread.cc838 data->java_vm = art::Runtime::Current()->GetJavaVM(); in RunAgentThread()
/art/test/900-hello-plugin/
Dload_unload.cc45 Runtime::Current()->GetJavaVM()->AddEnvironmentHook(GetEnvHandler); in ArtPlugin_Initialize()
/art/test/1941-dispose-stress/
Ddispose_stress.cc46 if (env->GetJavaVM(&vm) != 0) { in Java_art_Test1941_AllocEnv()
/art/test/169-threadgroup-jni/
Djni_daemon_thread.cc53 CHECK_EQ(env->GetJavaVM(&vm), 0); in Java_Main_testNativeThread()
/art/test/1909-per-agent-tls/
Dagent_tls.cc60 if (env->GetJavaVM(&vm) != 0) { in Java_art_Test1909_newJvmtiEnv()
/art/runtime/ti/
Dagent.cc96 *call_res = callback(Runtime::Current()->GetJavaVM(), in DoLoadHelper()
169 onunload_(Runtime::Current()->GetJavaVM()); in Unload()
/art/test/ti-agent/
Dframe_pop_helper.cc110 if (env->GetJavaVM(&vm) != JNI_OK || in Java_art_FramePop_makeJvmtiEnvForFramePop()
Dredefinition_helper.cc329 if (env->GetJavaVM(&vm) != 0 || in Java_art_Redefinition_doCommonClassRetransformation()
/art/test/905-object-free/
Dtracking_free.cc70 env->GetJavaVM(&jvm); in Java_art_Test905_setupObjectFreeCallback()
/art/test/904-object-allocation/
Dtracking.cc105 env->GetJavaVM(&vm); in Java_art_Test904_setupObjectAllocCallback()
/art/runtime/jni/
Djava_vm_ext_test.cc33 vm_ = Runtime::Current()->GetJavaVM(); in SetUp()
Djava_vm_ext.cc1213 delete runtime->GetJavaVM(); in JNI_CreateJavaVM()
1219 *p_vm = runtime->GetJavaVM(); in JNI_CreateJavaVM()
1229 vms_buf[0] = runtime->GetJavaVM(); in JNI_GetCreatedJavaVMs()
Dcheck_jni.cc289 Runtime::Current()->GetJavaVM()->AttachCurrentThread(&env, /* thr_args= */ nullptr); in CheckAttachedThread()
294 Runtime::Current()->GetJavaVM()->JniAbort(function_name, tmp.c_str()); in CheckAttachedThread()
296 CHECK_NE(Runtime::Current()->GetJavaVM()->DetachCurrentThread(), JNI_ERR); in CheckAttachedThread()
1471 Runtime::Current()->GetJavaVM()->JniAbortV(function_name_, fmt, args); in AbortF()
1639 Runtime::Current()->GetJavaVM()->JniAbortV(jni_function_name, fmt, args); in AbortF()
1763 static jint GetJavaVM(JNIEnv *env, JavaVM **vm) { in GetJavaVM() function in art::__anon01b981930111::CheckJNI
1770 result.i = baseEnv(env)->GetJavaVM(env, vm); in GetJavaVM()
3990 CheckJNI::GetJavaVM,
/art/test/1900-track-alloc/
Dalloc.cc101 if (env->GetJavaVM(&vm) != 0) { in Java_art_Test1900_newJvmtiEnv()
/art/test/903-hello-tagging/
Dtagging.cc110 CHECK_EQ(0, env->GetJavaVM(&jvm)); in CreateJvmtiEnv()
/art/runtime/entrypoints/
Dentrypoint_utils.cc52 Runtime::Current()->GetJavaVM()->JniAbortF(nullptr, in CheckReferenceResult()
/art/runtime/native/
Ddalvik_system_ZygoteHooks.cc162 JavaVMExt* vm = runtime->GetJavaVM(); in EnableDebugFeatures()
/art/runtime/
Dindirect_reference_table.cc57 JavaVMExt* vm = Runtime::Current()->GetJavaVM(); in AbortIfNoCheckJNI()
Dcommon_runtime_test.cc434 CheckJniAbortCatcher::CheckJniAbortCatcher() : vm_(Runtime::Current()->GetJavaVM()) { in CheckJniAbortCatcher()
Druntime.h296 JavaVMExt* GetJavaVM() const { in GetJavaVM() function
Dreflection_test.cc40 vm_ = Runtime::Current()->GetJavaVM(); in SetUp()
Druntime.cc677 GetJavaVM()->SweepJniWeakGlobals(visitor); in SweepSystemWeaks()
1932 GetJavaVM()->DumpForSigQuit(os); in DumpForSigQuit()
/art/openjdkjvm/
DOpenjdkJvm.cc330 art::JavaVMExt* vm = art::Runtime::Current()->GetJavaVM(); in JVM_NativeLoad()
/art/adbconnection/
Dadbconnection.cc199 int detach_result = art::Runtime::Current()->GetJavaVM()->DetachCurrentThread(); in CallbackFunction()

12