/art/runtime/ |
D | object_lock.cc | 26 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()
|
D | handle_wrapper.h | 31 : 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_;
|
D | object_lock.h | 43 Handle<T> const obj_; variable 61 Handle<T> const obj_; variable
|
D | monitor-inl.h | 29 return obj_.Read<kReadBarrierOption>(); in GetObject()
|
D | monitor_test.cc | 328 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
|
D | monitor.cc | 98 obj_(GcRoot<mirror::Object>(obj)), in Monitor() 125 obj_(GcRoot<mirror::Object>(obj)), in Monitor() 280 obj_ = GcRoot<mirror::Object>(object); in SetObject() 1008 monitor->obj_ = GcRoot<mirror::Object>(nullptr); in Deflate()
|
D | monitor.h | 314 GcRoot<mirror::Object> obj_; variable
|
/art/test/904-object-allocation/ |
D | tracking.cc | 52 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 env->NewLocalRef(obj_); in Get() 74 jobject obj_; member in art::Test904ObjectAllocation::ScopedGlobalRef
|
/art/dex2oat/ |
D | dex2oat.cc | 2854 explicit ScopedGlobalRef(jobject obj) : obj_(obj) {} in ScopedGlobalRef() 2856 if (obj_ != nullptr) { in ~ScopedGlobalRef() 2858 soa.Env()->GetVm()->DeleteGlobalRef(soa.Self(), obj_); in ~ScopedGlobalRef() 2863 jobject obj_; member in art::ScopedGlobalRef
|
/art/runtime/gc/ |
D | heap.cc | 2919 explicit RootMatchesObjectVisitor(const mirror::Object* obj) : obj_(obj) { } in RootMatchesObjectVisitor() 2923 if (root == obj_) { in VisitRoot() 2924 LOG(INFO) << "Object " << obj_ << " is a root " << info.ToString(); in VisitRoot() 2929 const mirror::Object* const obj_; member in art::gc::RootMatchesObjectVisitor
|
/art/compiler/optimizing/ |
D | code_generator_mips64.cc | 580 obj_(obj), in ReadBarrierMarkAndUpdateFieldSlowPathMIPS64() 658 GpuRegister base = obj_; in EmitNativeCode() 709 const GpuRegister obj_; member in art::mips64::ReadBarrierMarkAndUpdateFieldSlowPathMIPS64 730 obj_(obj), in ReadBarrierForHeapReferenceSlowPathMIPS64() 841 parallel_move.AddMove(obj_, in EmitNativeCode() 874 size_t obj = static_cast<int>(obj_.AsRegister<GpuRegister>()); in FindAvailableCallerSaveRegister() 894 const Location obj_; member in art::mips64::ReadBarrierForHeapReferenceSlowPathMIPS64
|
D | code_generator_x86_64.cc | 568 obj_(obj), in ReadBarrierMarkAndUpdateFieldSlowPathX86_64() 651 CpuRegister base = obj_; in EmitNativeCode() 706 const CpuRegister obj_; member in art::x86_64::ReadBarrierMarkAndUpdateFieldSlowPathX86_64 731 obj_(obj), in ReadBarrierForHeapReferenceSlowPathX86_64() 841 parallel_move.AddMove(obj_, in EmitNativeCode() 874 size_t obj = static_cast<int>(obj_.AsRegister<CpuRegister>().AsRegister()); in FindAvailableCallerSaveRegister() 891 const Location obj_; member in art::x86_64::ReadBarrierForHeapReferenceSlowPathX86_64
|
D | code_generator_x86.cc | 554 obj_(obj), in ReadBarrierMarkAndUpdateFieldSlowPathX86() 632 Register base = obj_; in EmitNativeCode() 686 const Register obj_; member in art::x86::ReadBarrierMarkAndUpdateFieldSlowPathX86 710 obj_(obj), in ReadBarrierForHeapReferenceSlowPathX86() 823 parallel_move.AddMove(obj_, in EmitNativeCode() 851 size_t obj = static_cast<int>(obj_.AsRegister<Register>()); in FindAvailableCallerSaveRegister() 868 const Location obj_; member in art::x86::ReadBarrierForHeapReferenceSlowPathX86
|
D | code_generator_mips.cc | 624 obj_(obj), in ReadBarrierMarkAndUpdateFieldSlowPathMIPS() 703 Register base = obj_; in EmitNativeCode() 763 const Register obj_; member in art::mips::ReadBarrierMarkAndUpdateFieldSlowPathMIPS 784 obj_(obj), in ReadBarrierForHeapReferenceSlowPathMIPS() 897 parallel_move.AddMove(obj_, in EmitNativeCode() 930 size_t obj = static_cast<int>(obj_.AsRegister<Register>()); in FindAvailableCallerSaveRegister() 950 const Location obj_; member in art::mips::ReadBarrierForHeapReferenceSlowPathMIPS
|
D | code_generator_arm64.cc | 614 obj_(obj), in ReadBarrierForHeapReferenceSlowPathARM64() 730 parallel_move.AddMove(obj_, in EmitNativeCode() 762 size_t obj = static_cast<int>(XRegisterFrom(obj_).GetCode()); in FindAvailableCallerSaveRegister() 779 const Location obj_; member in art::arm64::ReadBarrierForHeapReferenceSlowPathARM64
|
D | code_generator_arm_vixl.cc | 730 obj_(obj), in ReadBarrierForHeapReferenceSlowPathARMVIXL() 848 parallel_move.AddMove(obj_, in EmitNativeCode() 878 uint32_t obj = RegisterFrom(obj_).GetCode(); in FindAvailableCallerSaveRegister() 895 const Location obj_; member in art::arm::ReadBarrierForHeapReferenceSlowPathARMVIXL
|