• Home
  • Raw
  • Download

Lines Matching refs:art

54 class JvmtiWeakTable : public art::gc::SystemWeakHolder {
57 : art::gc::SystemWeakHolder(art::kTaggingLockLevel), in JvmtiWeakTable()
63 ALWAYS_INLINE bool Remove(art::ObjPtr<art::mirror::Object> obj, /* out */ T* tag)
64 REQUIRES_SHARED(art::Locks::mutator_lock_)
66 ALWAYS_INLINE bool RemoveLocked(art::ObjPtr<art::mirror::Object> obj, /* out */ T* tag)
67 REQUIRES_SHARED(art::Locks::mutator_lock_)
72 ALWAYS_INLINE virtual bool Set(art::ObjPtr<art::mirror::Object> obj, T tag)
73 REQUIRES_SHARED(art::Locks::mutator_lock_)
75 ALWAYS_INLINE virtual bool SetLocked(art::ObjPtr<art::mirror::Object> obj, T tag)
76 REQUIRES_SHARED(art::Locks::mutator_lock_)
81 bool GetTag(art::ObjPtr<art::mirror::Object> obj, /* out */ T* result) in GetTag()
82 REQUIRES_SHARED(art::Locks::mutator_lock_) in GetTag()
84 art::Thread* self = art::Thread::Current(); in GetTag()
85 art::MutexLock mu(self, allow_disallow_lock_); in GetTag()
90 bool GetTagLocked(art::ObjPtr<art::mirror::Object> obj, /* out */ T* result) in GetTagLocked()
91 REQUIRES_SHARED(art::Locks::mutator_lock_) in GetTagLocked()
93 art::Thread* self = art::Thread::Current(); in GetTagLocked()
101 ALWAYS_INLINE void Sweep(art::IsMarkedVisitor* visitor)
102 REQUIRES_SHARED(art::Locks::mutator_lock_)
113 REQUIRES_SHARED(art::Locks::mutator_lock_)
121 ALWAYS_INLINE art::ObjPtr<art::mirror::Object> Find(T tag)
122 REQUIRES_SHARED(art::Locks::mutator_lock_)
135 bool SetLocked(art::Thread* self, art::ObjPtr<art::mirror::Object> obj, T tag)
136 REQUIRES_SHARED(art::Locks::mutator_lock_)
140 bool RemoveLocked(art::Thread* self, art::ObjPtr<art::mirror::Object> obj, /* out */ T* tag)
141 REQUIRES_SHARED(art::Locks::mutator_lock_)
144 bool GetTagLocked(art::Thread* self, art::ObjPtr<art::mirror::Object> obj, /* out */ T* result) in GetTagLocked()
145 REQUIRES_SHARED(art::Locks::mutator_lock_) in GetTagLocked()
147 auto it = tagged_objects_.find(art::GcRoot<art::mirror::Object>(obj)); in GetTagLocked()
155 if (art::kUseReadBarrier && in GetTagLocked()
168 bool GetTagSlowPath(art::Thread* self, art::ObjPtr<art::mirror::Object> obj, /* out */ T* result)
169 REQUIRES_SHARED(art::Locks::mutator_lock_)
176 REQUIRES_SHARED(art::Locks::mutator_lock_)
180 void SweepImpl(art::IsMarkedVisitor* visitor)
181 REQUIRES_SHARED(art::Locks::mutator_lock_)
192 REQUIRES_SHARED(art::Locks::mutator_lock_)
199 size_t operator()(const art::GcRoot<art::mirror::Object>& r) const in operator()
200 REQUIRES_SHARED(art::Locks::mutator_lock_) { in operator()
201 return reinterpret_cast<uintptr_t>(r.Read<art::kWithoutReadBarrier>()); in operator()
206 bool operator()(const art::GcRoot<art::mirror::Object>& r1, in operator()
207 const art::GcRoot<art::mirror::Object>& r2) const in operator()
208 REQUIRES_SHARED(art::Locks::mutator_lock_) { in operator()
209 return r1.Read<art::kWithoutReadBarrier>() == r2.Read<art::kWithoutReadBarrier>(); in operator()
213 using TagAllocator = JvmtiAllocator<std::pair<const art::GcRoot<art::mirror::Object>, T>>;
214 std::unordered_map<art::GcRoot<art::mirror::Object>,
220 GUARDED_BY(art::Locks::mutator_lock_);