Searched defs:iref (Results 1 - 3 of 3) sorted by relevance

/art/runtime/
H A Dindirect_reference_table-inl.h36 inline bool IndirectReferenceTable::GetChecked(IndirectRef iref) const {
37 if (UNLIKELY(iref == nullptr)) {
41 if (UNLIKELY(GetIndirectRefKind(iref) == kHandleScopeOrInvalid)) {
44 iref));
48 uint32_t idx = ExtractIndex(iref);
53 iref,
62 iref));
65 if (UNLIKELY(!CheckEntry("use", iref, idx))) {
71 // Make sure that the entry at "idx" is correctly paired with "iref".
73 IndirectRef iref,
72 CheckEntry(const char* what, IndirectRef iref, uint32_t idx) const argument
100 Update(IndirectRef iref, ObjPtr<mirror::Object> obj) argument
[all...]
H A Dindirect_reference_table.cc334 // Removes an object. We extract the table offset bits from "iref"
342 bool IndirectReferenceTable::Remove(IRTSegmentState previous_state, IndirectRef iref) { argument
355 if (GetIndirectRefKind(iref) == kHandleScopeOrInvalid) {
357 if (self->HandleScopeContains(reinterpret_cast<jobject>(iref))) {
370 const uint32_t idx = ExtractIndex(iref);
390 if (!CheckEntry("remove", iref, idx)) {
428 if (!CheckEntry("remove", iref, idx)) {
H A Dindirect_reference_table.h261 ObjPtr<mirror::Object> Get(IndirectRef iref) const REQUIRES_SHARED(Locks::mutator_lock_)
266 ObjPtr<mirror::Object> SynchronizedGet(IndirectRef iref) const
268 return Get<kReadBarrierOption>(iref);
272 void Update(IndirectRef iref, ObjPtr<mirror::Object> obj) REQUIRES_SHARED(Locks::mutator_lock_);
281 bool Remove(IRTSegmentState previous_state, IndirectRef iref);
331 ALWAYS_INLINE static inline IndirectRefKind GetIndirectRefKind(IndirectRef iref) { argument
332 return DecodeIndirectRefKind(reinterpret_cast<uintptr_t>(iref));
375 ALWAYS_INLINE static uint32_t ExtractIndex(IndirectRef iref) { argument
376 return DecodeIndex(reinterpret_cast<uintptr_t>(iref));

Completed in 911 milliseconds