Home
last modified time | relevance | path

Searched refs:iref (Results 1 – 3 of 3) sorted by relevance

/art/runtime/
Dindirect_reference_table-inl.h36 inline bool IndirectReferenceTable::GetChecked(IndirectRef iref) const { in GetChecked() argument
37 if (UNLIKELY(iref == nullptr)) { in GetChecked()
41 if (UNLIKELY(GetIndirectRefKind(iref) == kHandleScopeOrInvalid)) { in GetChecked()
44 iref)); in GetChecked()
48 uint32_t idx = ExtractIndex(iref); in GetChecked()
53 iref, in GetChecked()
62 iref)); in GetChecked()
65 if (UNLIKELY(!CheckEntry("use", iref, idx))) { in GetChecked()
73 IndirectRef iref, in CheckEntry() argument
76 if (UNLIKELY(checkRef != iref)) { in CheckEntry()
[all …]
Dindirect_reference_table.h256 ObjPtr<mirror::Object> Get(IndirectRef iref) const REQUIRES_SHARED(Locks::mutator_lock_)
261 ObjPtr<mirror::Object> SynchronizedGet(IndirectRef iref) const in SynchronizedGet() argument
263 return Get<kReadBarrierOption>(iref); in SynchronizedGet()
267 void Update(IndirectRef iref, ObjPtr<mirror::Object> obj) REQUIRES_SHARED(Locks::mutator_lock_);
276 bool Remove(IRTSegmentState previous_state, IndirectRef iref);
317 ALWAYS_INLINE static inline IndirectRefKind GetIndirectRefKind(IndirectRef iref) { in GetIndirectRefKind() argument
318 return DecodeIndirectRefKind(reinterpret_cast<uintptr_t>(iref)); in GetIndirectRefKind()
361 ALWAYS_INLINE static uint32_t ExtractIndex(IndirectRef iref) { in ExtractIndex() argument
362 return DecodeIndex(reinterpret_cast<uintptr_t>(iref)); in ExtractIndex()
Dindirect_reference_table.cc314 bool IndirectReferenceTable::Remove(IRTSegmentState previous_state, IndirectRef iref) { in Remove() argument
327 if (GetIndirectRefKind(iref) == kHandleScopeOrInvalid) { in Remove()
329 if (self->HandleScopeContains(reinterpret_cast<jobject>(iref))) { in Remove()
342 const uint32_t idx = ExtractIndex(iref); in Remove()
362 if (!CheckEntry("remove", iref, idx)) { in Remove()
400 if (!CheckEntry("remove", iref, idx)) { in Remove()