Home | History | Annotate | Download | only in runtime

Lines Matching refs:iref

31 inline bool IndirectReferenceTable::GetChecked(IndirectRef iref) const {
32 if (UNLIKELY(iref == nullptr)) {
36 if (UNLIKELY(GetIndirectRefKind(iref) == kHandleScopeOrInvalid)) {
37 LOG(ERROR) << "JNI ERROR (app bug): invalid " << kind_ << " " << iref;
42 int idx = ExtractIndex(iref);
45 << iref << " (index " << idx << " in a table of size " << topIndex << ")";
50 LOG(ERROR) << "JNI ERROR (app bug): accessed deleted " << kind_ << " " << iref;
54 if (UNLIKELY(!CheckEntry("use", iref, idx))) {
60 // Make sure that the entry at "idx" is correctly paired with "iref".
61 inline bool IndirectReferenceTable::CheckEntry(const char* what, IndirectRef iref, int idx) const {
63 if (UNLIKELY(checkRef != iref)) {
65 << " stale " << kind_ << " " << iref
74 inline mirror::Object* IndirectReferenceTable::Get(IndirectRef iref) const {
75 if (!GetChecked(iref)) {
78 uint32_t idx = ExtractIndex(iref);