Home
last modified time | relevance | path

Searched refs:GetVm (Results 1 – 15 of 15) sorted by relevance

/art/runtime/
Dscoped_thread_state_change-inl.h97 : self_(ThreadForEnv(env)), env_(down_cast<JNIEnvExt*>(env)), vm_(env_->GetVm()) {} in ScopedObjectAccessAlreadyRunnable()
102 vm_(env_ != nullptr ? env_->GetVm() : nullptr) {} in ScopedObjectAccessAlreadyRunnable()
Dreflection.cc1073 self->GetJniEnv()->GetVm()->UpdateGlobal(self, ref, result); in UpdateReference()
1076 self->GetJniEnv()->GetVm()->UpdateWeakGlobal(self, ref, result); in UpdateReference()
Dclass_linker.cc251 classes_[num_classes_] = self->GetJniEnv()->GetVm()->AddWeakGlobalRef(self, klass); in AddClass()
286 JavaVMExt* vm = self->GetJniEnv()->GetVm(); in AdjustThreadVisibilityCounter()
3829 JavaVMExt* const vm = self->GetJniEnv()->GetVm(); in RegisterDexFileLocked()
5817 data.weak_root = self->GetJniEnv()->GetVm()->AddWeakGlobalRef(self, class_loader); in RegisterClassLoader()
Druntime.cc703 : vm_(down_cast<JNIEnvExt*>(self->GetJniEnv())->GetVm()), in FindNativeMethodsVisitor()
Dthread.cc967 DCHECK_EQ(jni_env_ext->GetVm(), java_vm); in Init()
/art/test/136-daemon-jni-shutdown/
Ddaemon_jni_shutdown.cc61 JavaVM* vm = down_cast<JNIEnvExt*>(env)->GetVm(); in Java_Main_destroyJavaVMAndExit()
/art/runtime/entrypoints/jni/
Djni_entrypoints.cc112 JavaVMExt* vm = down_cast<JNIEnvExt*>(self->GetJniEnv())->GetVm(); in artFindNativeMethodRunnable()
/art/runtime/jni/
Djni_env_ext.h108 JavaVMExt* GetVm() const { return vm_; } in GetVm() function
Djava_vm_ext.cc366 UnloadLibraries(self->GetJniEnv()->GetVm(), unload_libraries); in UnloadNativeLibraries()
Djni_internal.cc616 return reinterpret_cast<JNIEnvExt*>(env)->GetVm(); in JavaVmExtFromEnv()
858 JavaVMExt* vm = down_cast<JNIEnvExt*>(env)->GetVm(); in DeleteGlobalRef()
870 JavaVMExt* vm = down_cast<JNIEnvExt*>(env)->GetVm(); in DeleteWeakGlobalRef()
2629 bool warn_on_going_to_parent = down_cast<JNIEnvExt*>(env)->GetVm()->IsCheckJniEnabled(); in RegisterNatives()
Dcheck_jni.cc888 obj = soa.Env()->GetVm()->DecodeGlobal(ref); in CheckInstance()
890 obj = soa.Env()->GetVm()->DecodeWeakGlobal(soa.Self(), ref); in CheckInstance()
2811 return reinterpret_cast<JNIEnvExt*>(env)->GetVm(); in GetJavaVMExt()
/art/runtime/gc/
Dreference_processor.cc387 cleared_references = self->GetJniEnv()->GetVm()->AddGlobalRef( in CollectClearedReferences()
/art/runtime/native/
Ddalvik_system_VMRuntime.cc253 return down_cast<JNIEnvExt*>(env)->GetVm()->IsCheckJniEnabled() ? JNI_TRUE : JNI_FALSE; in VMRuntime_isCheckJniEnabled()
/art/dex2oat/linker/
Dimage_writer.cc1344 JavaVMExt* vm = down_cast<JNIEnvExt*>(self->GetJniEnv())->GetVm(); in CreateImageRoots()
1653 JavaVMExt* vm = down_cast<JNIEnvExt*>(self->GetJniEnv())->GetVm(); in ProcessCollectedClasses()
1886 JavaVMExt* vm = down_cast<JNIEnvExt*>(self->GetJniEnv())->GetVm(); in ProcessDexFileObjects()
1984 JavaVMExt* vm = down_cast<JNIEnvExt*>(self->GetJniEnv())->GetVm(); in ProcessRoots()
2177 vm = down_cast<JNIEnvExt*>(self->GetJniEnv())->GetVm(); in VerifyImageBinSlotsAssigned()
2477 JavaVMExt* vm = down_cast<JNIEnvExt*>(self->GetJniEnv())->GetVm(); in CalculateNewObjectOffsets()
3632 JavaVMExt* vm = down_cast<JNIEnvExt*>(self->GetJniEnv())->GetVm(); in ~ImageWriter()
/art/dex2oat/
Ddex2oat.cc1781 jweak weak_class_loader = soa.Env()->GetVm()->AddWeakGlobalRef( in CompileDexFilesIndividually()
1784 soa.Env()->GetVm()->DeleteGlobalRef(soa.Self(), class_loader); in CompileDexFilesIndividually()
3049 soa.Env()->GetVm()->DeleteGlobalRef(soa.Self(), obj_); in ~ScopedGlobalRef()