Home
last modified time | relevance | path

Searched refs:iref (Results 1 – 4 of 4) 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.h260 ObjPtr<mirror::Object> Get(IndirectRef iref) const REQUIRES_SHARED(Locks::mutator_lock_)
265 ObjPtr<mirror::Object> SynchronizedGet(IndirectRef iref) const in SynchronizedGet() argument
267 return Get<kReadBarrierOption>(iref); in SynchronizedGet()
271 void Update(IndirectRef iref, ObjPtr<mirror::Object> obj) REQUIRES_SHARED(Locks::mutator_lock_);
280 bool Remove(IRTSegmentState previous_state, IndirectRef iref);
330 ALWAYS_INLINE static inline IndirectRefKind GetIndirectRefKind(IndirectRef iref) { in GetIndirectRefKind() argument
331 return DecodeIndirectRefKind(reinterpret_cast<uintptr_t>(iref)); in GetIndirectRefKind()
374 ALWAYS_INLINE static uint32_t ExtractIndex(IndirectRef iref) { in ExtractIndex() argument
375 return DecodeIndex(reinterpret_cast<uintptr_t>(iref)); in ExtractIndex()
Dindirect_reference_table.cc344 bool IndirectReferenceTable::Remove(IRTSegmentState previous_state, IndirectRef iref) { in Remove() argument
357 if (GetIndirectRefKind(iref) == kHandleScopeOrInvalid) { in Remove()
359 if (self->HandleScopeContains(reinterpret_cast<jobject>(iref))) { in Remove()
372 const uint32_t idx = ExtractIndex(iref); in Remove()
392 if (!CheckEntry("remove", iref, idx)) { in Remove()
430 if (!CheckEntry("remove", iref, idx)) { in Remove()
/art/runtime/jni/
Djni_env_ext.h69 …void UpdateLocal(IndirectRef iref, ObjPtr<mirror::Object> obj) REQUIRES_SHARED(Locks::mutator_lock… in UpdateLocal() argument
70 locals_.Update(iref, obj); in UpdateLocal()