Home
last modified time | relevance | path

Searched refs:AddGlobalRef (Results 1 – 16 of 16) sorted by relevance

/art/benchmark/jobject-benchmark/
Djobject_benchmark.cc55 jobject ref = soa.Vm()->AddGlobalRef(soa.Self(), obj); in Java_JObjectBenchmark_timeAddRemoveGlobal()
65 jobject ref = soa.Vm()->AddGlobalRef(soa.Self(), obj); in Java_JObjectBenchmark_timeDecodeGlobal()
/art/runtime/
Dmonitor_test.cc259 test->object_ = soa.Vm()->AddGlobalRef(self, obj.Get()); in CommonWaitSetup()
263 test->watchdog_object_ = soa.Vm()->AddGlobalRef(self, watchdog_obj.Get()); in CommonWaitSetup()
369 jobject g_obj1 = soa.Vm()->AddGlobalRef(self, obj1.Get()); in TEST_F()
Dcommon_runtime_test.cc311 return soa.Env()->GetVm()->AddGlobalRef(soa.Self(), result); in LoadDexInWellKnownClassLoader()
Druntime.cc892 runtime->GetJavaVM()->AddGlobalRef(soa.Self(), system_class_loader); in CreateSystemClassLoader()
2185 GetJavaVM()->AddGlobalRef(self, GetClassRoot<mirror::Object>(GetClassLinker()))); in InitNativeMethods()
2245 soa.Vm()->AddGlobalRef(self, main_thread_group_field->GetObject(thread_group_class.Get())); in InitThreadGroups()
2248 soa.Vm()->AddGlobalRef(self, system_thread_group_field->GetObject(thread_group_class.Get())); in InitThreadGroups()
Doat_file_manager.cc685 class_loader_ = soa.Vm()->AddGlobalRef(self, soa.Decode<mirror::ClassLoader>(class_loader)); in BackgroundVerificationTask()
Dclass_linker.cc10720 return Runtime::Current()->GetJavaVM()->AddGlobalRef(self, class_loader); in CreatePathClassLoader()
/art/runtime/jni/
Djava_vm_ext.h154 jobject AddGlobalRef(Thread* self, ObjPtr<mirror::Object> obj)
Djava_vm_ext.cc689 jobject JavaVMExt::AddGlobalRef(Thread* self, ObjPtr<mirror::Object> obj) { in AddGlobalRef() function in art::JavaVMExt
Djni_internal.cc854 return soa.Vm()->AddGlobalRef(soa.Self(), decoded_obj); in NewGlobalRef()
/art/runtime/gc/
Dreference_processor.cc386 cleared_references = self->GetJniEnv()->GetVm()->AddGlobalRef( in CollectClearedReferences()
/art/adbconnection/
Dadbconnection.cc284 jobject thr = soa.Env()->GetVm()->AddGlobalRef(self, CreateAdbConnectionThread(soa.Self())); in StartDebuggerThreads()
/art/openjdkjvmti/
Dti_thread.cc847 data->thread = runtime->GetJavaVM()->AddGlobalRef(soa.Self(), othread); in RunAgentThread()
Dti_method.cc895 obj_val_ = art::Runtime::Current()->GetJavaVM()->AddGlobalRef(art::Thread::Current(), obj); in Execute()
Dti_stack.cc402 jthread peer = art::Runtime::Current()->GetJavaVM()->AddGlobalRef( in GetAllStackTraces()
/art/runtime/jit/
Djit.cc1020 class_loader_ = soa.Vm()->AddGlobalRef(soa.Self(), h_loader.Get()); in JitProfileTask()
/art/dex2oat/linker/
Dimage_writer.cc1178 image_roots_.push_back(vm->AddGlobalRef(self, image_roots)); in CreateImageRoots()