Home
last modified time | relevance | path

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

/art/runtime/
Dobject_lock.cc26 ObjectLock<T>::ObjectLock(Thread* self, Handle<T> object) : self_(self), obj_(object) { in ObjectLock()
28 obj_->MonitorEnter(self_); in ObjectLock()
33 obj_->MonitorExit(self_); in ~ObjectLock()
38 Monitor::Wait(self_, obj_.Get(), 0, 0, false, kWaiting); in WaitIgnoringInterrupts()
43 obj_->Notify(self_); in Notify()
48 obj_->NotifyAll(self_); in NotifyAll()
52 ObjectTryLock<T>::ObjectTryLock(Thread* self, Handle<T> object) : self_(self), obj_(object) { in ObjectTryLock()
54 acquired_ = obj_->MonitorTryEnter(self_) != nullptr; in ObjectTryLock()
60 obj_->MonitorExit(self_); in ~ObjectTryLock()
Dhandle_wrapper.h31 : MutableHandle<T>(handle), obj_(obj) { in HandleWrapper()
37 *obj_ = MutableHandle<T>::Get(); in ~HandleWrapper()
41 T** const obj_;
51 : MutableHandle<T>(handle), obj_(obj) {} in HandleWrapperObjPtr()
56 *obj_ = MutableHandle<T>::Get(); in ~HandleWrapperObjPtr()
60 ObjPtr<T>* const obj_;
Dobject_lock.h43 Handle<T> const obj_; variable
61 Handle<T> const obj_; variable
Dreflective_handle.h111 : MutableReflectiveHandle<T>(handle), obj_(obj) { in ReflectiveHandleWrapper()
117 *obj_ = MutableReflectiveHandle<T>::Get(); in ~ReflectiveHandleWrapper()
121 T** const obj_;
Dmonitor_test.cc328 explicit TryLockTask(Handle<mirror::Object> obj) : obj_(obj) {} in TryLockTask()
333 ObjectTryLock<mirror::Object> lock(self, obj_); in Run()
342 Handle<mirror::Object> obj_; member in art::TryLockTask
Dmonitor-inl.h29 return obj_.Read<kReadBarrierOption>(); in GetObject()
Dmonitor.cc98 obj_(GcRoot<mirror::Object>(obj)), in Monitor()
127 obj_(GcRoot<mirror::Object>(obj)), in Monitor()
325 obj_ = GcRoot<mirror::Object>(object); in SetObject()
1024 monitor->obj_ = GcRoot<mirror::Object>(nullptr); in Deflate()
Dmonitor.h334 GcRoot<mirror::Object> obj_; variable
/art/test/904-object-allocation/
Dtracking.cc52 ScopedGlobalRef(JNIEnv* env, T obj) : obj_(env->NewGlobalRef(obj)) {} in ScopedGlobalRef()
54 : obj_(GetEnv()->NewGlobalRef(src.obj_)) {} in ScopedGlobalRef()
55 ScopedGlobalRef(ScopedGlobalRef<T>&& src) noexcept : obj_(src.obj_) { in ScopedGlobalRef()
56 src.obj_ = nullptr; in ScopedGlobalRef()
60 GetEnv()->DeleteGlobalRef(obj_); in ~ScopedGlobalRef()
64 return reinterpret_cast<T>(env->NewLocalRef(obj_)); in Get()
74 jobject obj_; member in art::Test904ObjectAllocation::ScopedGlobalRef
/art/dex2oat/
Ddex2oat.cc3132 explicit ScopedGlobalRef(jobject obj) : obj_(obj) {} in ScopedGlobalRef()
3134 if (obj_ != nullptr) { in ~ScopedGlobalRef()
3136 soa.Env()->GetVm()->DeleteGlobalRef(soa.Self(), obj_); in ~ScopedGlobalRef()
3141 jobject obj_; member in art::ScopedGlobalRef
/art/runtime/gc/
Dheap.cc2801 explicit RootMatchesObjectVisitor(const mirror::Object* obj) : obj_(obj) { } in RootMatchesObjectVisitor()
2805 if (root == obj_) { in VisitRoot()
2806 LOG(INFO) << "Object " << obj_ << " is a root " << info.ToString(); in VisitRoot()
2811 const mirror::Object* const obj_; member in art::gc::RootMatchesObjectVisitor
/art/compiler/optimizing/
Dcode_generator_x86_64.cc571 obj_(obj), in ReadBarrierMarkAndUpdateFieldSlowPathX86_64()
654 CpuRegister base = obj_; in EmitNativeCode()
709 const CpuRegister obj_; member in art::x86_64::ReadBarrierMarkAndUpdateFieldSlowPathX86_64
734 obj_(obj), in ReadBarrierForHeapReferenceSlowPathX86_64()
844 parallel_move.AddMove(obj_, in EmitNativeCode()
877 size_t obj = static_cast<int>(obj_.AsRegister<CpuRegister>().AsRegister()); in FindAvailableCallerSaveRegister()
894 const Location obj_; member in art::x86_64::ReadBarrierForHeapReferenceSlowPathX86_64
Dcode_generator_x86.cc557 obj_(obj), in ReadBarrierMarkAndUpdateFieldSlowPathX86()
635 Register base = obj_; in EmitNativeCode()
689 const Register obj_; member in art::x86::ReadBarrierMarkAndUpdateFieldSlowPathX86
713 obj_(obj), in ReadBarrierForHeapReferenceSlowPathX86()
826 parallel_move.AddMove(obj_, in EmitNativeCode()
854 size_t obj = static_cast<int>(obj_.AsRegister<Register>()); in FindAvailableCallerSaveRegister()
871 const Location obj_; member in art::x86::ReadBarrierForHeapReferenceSlowPathX86
Dcode_generator_arm64.cc616 obj_(obj), in ReadBarrierForHeapReferenceSlowPathARM64()
732 parallel_move.AddMove(obj_, in EmitNativeCode()
764 size_t obj = static_cast<int>(XRegisterFrom(obj_).GetCode()); in FindAvailableCallerSaveRegister()
781 const Location obj_; member in art::arm64::ReadBarrierForHeapReferenceSlowPathARM64
Dcode_generator_arm_vixl.cc732 obj_(obj), in ReadBarrierForHeapReferenceSlowPathARMVIXL()
850 parallel_move.AddMove(obj_, in EmitNativeCode()
880 uint32_t obj = RegisterFrom(obj_).GetCode(); in FindAvailableCallerSaveRegister()
897 const Location obj_; member in art::arm::ReadBarrierForHeapReferenceSlowPathARMVIXL