Home
last modified time | relevance | path

Searched refs:GetJavaVM (Results 1 – 25 of 32) 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.cc784 data->java_vm = art::Runtime::Current()->GetJavaVM(); in RunAgentThread()
Dti_stack.cc363 jthread peer = art::Runtime::Current()->GetJavaVM()->AddGlobalRef( in GetAllStackTraces()
/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.cc95 *call_res = callback(Runtime::Current()->GetJavaVM(), in DoLoadHelper()
163 onunload_(Runtime::Current()->GetJavaVM()); in Unload()
/art/test/905-object-free/
Dtracking_free.cc63 env->GetJavaVM(&jvm); in Java_art_Test905_setupObjectFreeCallback()
/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/1900-track-alloc/
Dalloc.cc101 if (env->GetJavaVM(&vm) != 0) { in Java_art_Test1900_newJvmtiEnv()
/art/runtime/
Djava_vm_ext_test.cc33 vm_ = Runtime::Current()->GetJavaVM(); in SetUp()
Djava_vm_ext.cc1164 delete runtime->GetJavaVM(); in JNI_CreateJavaVM()
1170 *p_vm = runtime->GetJavaVM(); in JNI_CreateJavaVM()
1180 vms_buf[0] = runtime->GetJavaVM(); in JNI_GetCreatedJavaVMs()
Dindirect_reference_table.cc56 JavaVMExt* vm = Runtime::Current()->GetJavaVM(); in AbortIfNoCheckJNI()
Dcheck_jni.cc286 Runtime::Current()->GetJavaVM()->AttachCurrentThread(&env, /* thread_args */ nullptr); in CheckAttachedThread()
291 Runtime::Current()->GetJavaVM()->JniAbort(function_name, tmp.c_str()); in CheckAttachedThread()
293 CHECK_NE(Runtime::Current()->GetJavaVM()->DetachCurrentThread(), JNI_ERR); in CheckAttachedThread()
1466 Runtime::Current()->GetJavaVM()->JniAbortV(function_name_, fmt, args); in AbortF()
1634 Runtime::Current()->GetJavaVM()->JniAbortV(jni_function_name, fmt, args); in AbortF()
1758 static jint GetJavaVM(JNIEnv *env, JavaVM **vm) { in GetJavaVM() function in art::__anona1964fb70111::CheckJNI
1765 result.i = baseEnv(env)->GetJavaVM(env, vm); in GetJavaVM()
3985 CheckJNI::GetJavaVM,
Dcommon_runtime_test.cc752 CheckJniAbortCatcher::CheckJniAbortCatcher() : vm_(Runtime::Current()->GetJavaVM()) { in CheckJniAbortCatcher()
Druntime.h272 JavaVMExt* GetJavaVM() const { in GetJavaVM() function
Dreflection_test.cc39 vm_ = Runtime::Current()->GetJavaVM(); in SetUp()
Druntime.cc608 GetJavaVM()->SweepJniWeakGlobals(visitor); in SweepSystemWeaks()
1813 GetJavaVM()->DumpForSigQuit(os); in DumpForSigQuit()
/art/test/903-hello-tagging/
Dtagging.cc110 CHECK_EQ(0, env->GetJavaVM(&jvm)); in CreateJvmtiEnv()
/art/runtime/native/
Ddalvik_system_ZygoteHooks.cc190 JavaVMExt* vm = runtime->GetJavaVM(); in EnableDebugFeatures()
/art/runtime/entrypoints/
Dentrypoint_utils.cc51 Runtime::Current()->GetJavaVM()->JniAbortF(nullptr, in CheckReferenceResult()
/art/openjdkjvm/
DOpenjdkJvm.cc333 art::JavaVMExt* vm = art::Runtime::Current()->GetJavaVM(); in JVM_NativeLoad()
/art/adbconnection/
Dadbconnection.cc201 int detach_result = art::Runtime::Current()->GetJavaVM()->DetachCurrentThread(); in CallbackFunction()

12