Home
last modified time | relevance | path

Searched refs:obj_ (Results 1 – 17 of 17) 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, ThreadState::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.h32 : MutableHandle<T>(handle), obj_(obj) { in HandleWrapper()
38 *obj_ = MutableHandle<T>::Get(); in ~HandleWrapper()
42 T** const obj_;
52 : MutableHandle<T>(handle), obj_(obj) {} in HandleWrapperObjPtr()
57 *obj_ = MutableHandle<T>::Get(); in ~HandleWrapperObjPtr()
61 ObjPtr<T>* const obj_;
Dobject_lock.h43 Handle<T> const obj_; variable
61 Handle<T> const obj_; variable
Dreflective_handle.h110 : MutableReflectiveHandle<T>(handle), obj_(obj) { in ReflectiveHandleWrapper()
116 *obj_ = MutableReflectiveHandle<T>::Get(); in ~ReflectiveHandleWrapper()
120 T** const obj_;
Dmonitor_test.cc340 explicit TryLockTask(jobject obj) : obj_(obj) {} in TryLockTask()
345 Handle<mirror::Object> obj = hs.NewHandle(soa.Decode<mirror::Object>(obj_)); in Run()
356 jobject obj_; member in art::TryLockTask
Dmonitor-inl.h29 return obj_.Read<kReadBarrierOption>(); in GetObject()
Dmonitor.cc102 obj_(GcRoot<mirror::Object>(obj)), in Monitor()
136 obj_(GcRoot<mirror::Object>(obj)), in Monitor()
329 obj_ = GcRoot<mirror::Object>(object); in SetObject()
1033 monitor->obj_ = GcRoot<mirror::Object>(nullptr); in Deflate()
Dmonitor.h348 GcRoot<mirror::Object> obj_; variable
Dthread.cc2742 obj_(obj), in JniTransitionReferenceVisitor()
2755 if (current_vreg == obj_) { in VisitFrame()
2770 if (current_vreg == obj_) { in VisitFrame()
2781 return obj_ >= current_vreg; in VisitFrame()
2783 if (m->IsStatic() && obj_ == m->GetDeclaringClassAddressWithoutBarrier()) { in VisitFrame()
2796 void* obj_; member in art::JniTransitionReferenceVisitor
/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.cc3045 explicit ScopedGlobalRef(jobject obj) : obj_(obj) {} in ScopedGlobalRef()
3047 if (obj_ != nullptr) { in ~ScopedGlobalRef()
3049 soa.Env()->GetVm()->DeleteGlobalRef(soa.Self(), obj_); in ~ScopedGlobalRef()
3054 jobject obj_; member in art::ScopedGlobalRef
/art/runtime/gc/collector/
Dmark_compact.cc1520 obj_(obj), in RefsUpdateVisitor()
1533 uint8_t* ref = reinterpret_cast<uint8_t*>(obj_) + offset.Int32Value(); in operator ()()
1537 collector_->UpdateRef(obj_, offset, moving_space_begin_, moving_space_end_); in operator ()()
1550 collector_->UpdateRef(obj_, offset, moving_space_begin_, moving_space_end_); in operator ()()
1571 mirror::Object* const obj_; member in art::gc::collector::MarkCompact::RefsUpdateVisitor
/art/runtime/gc/
Dheap.cc3028 explicit RootMatchesObjectVisitor(const mirror::Object* obj) : obj_(obj) { } in RootMatchesObjectVisitor()
3032 if (root == obj_) { in VisitRoot()
3033 LOG(INFO) << "Object " << obj_ << " is a root " << info.ToString(); in VisitRoot()
3038 const mirror::Object* const obj_; member in art::gc::RootMatchesObjectVisitor
/art/compiler/optimizing/
Dcode_generator_x86_64.cc634 obj_(obj), in ReadBarrierMarkAndUpdateFieldSlowPathX86_64()
718 CpuRegister base = obj_; in EmitNativeCode()
773 const CpuRegister obj_; member in art::x86_64::ReadBarrierMarkAndUpdateFieldSlowPathX86_64
798 obj_(obj), in ReadBarrierForHeapReferenceSlowPathX86_64()
913 parallel_move.AddMove(obj_, in EmitNativeCode()
946 size_t obj = static_cast<int>(obj_.AsRegister<CpuRegister>().AsRegister()); in FindAvailableCallerSaveRegister()
963 const Location obj_; member in art::x86_64::ReadBarrierForHeapReferenceSlowPathX86_64
Dcode_generator_x86.cc592 obj_(obj), in ReadBarrierMarkAndUpdateFieldSlowPathX86()
671 Register base = obj_; in EmitNativeCode()
725 const Register obj_; member in art::x86::ReadBarrierMarkAndUpdateFieldSlowPathX86
749 obj_(obj), in ReadBarrierForHeapReferenceSlowPathX86()
867 parallel_move.AddMove(obj_, in EmitNativeCode()
895 size_t obj = static_cast<int>(obj_.AsRegister<Register>()); in FindAvailableCallerSaveRegister()
912 const Location obj_; member in art::x86::ReadBarrierForHeapReferenceSlowPathX86
Dcode_generator_arm64.cc589 obj_(obj), in ReadBarrierForHeapReferenceSlowPathARM64()
706 parallel_move.AddMove(obj_, in EmitNativeCode()
738 size_t obj = static_cast<int>(XRegisterFrom(obj_).GetCode()); in FindAvailableCallerSaveRegister()
755 const Location obj_; member in art::arm64::ReadBarrierForHeapReferenceSlowPathARM64
Dcode_generator_arm_vixl.cc723 obj_(obj), in ReadBarrierForHeapReferenceSlowPathARMVIXL()
843 parallel_move.AddMove(obj_, in EmitNativeCode()
873 uint32_t obj = RegisterFrom(obj_).GetCode(); in FindAvailableCallerSaveRegister()
890 const Location obj_; member in art::arm::ReadBarrierForHeapReferenceSlowPathARMVIXL