Home
last modified time | relevance | path

Searched refs:irt (Results 1 – 2 of 2) sorted by relevance

/art/runtime/
Dindirect_reference_table_test.cc38 static void CheckDump(IndirectReferenceTable* irt, size_t num_objects, size_t num_unique) in CheckDump() argument
41 irt->Dump(oss); in CheckDump()
62 IndirectReferenceTable irt(kGlobal); in TEST_F() local
64 bool success = irt.Initialize(kTableMax, &error_msg); in TEST_F()
80 CheckDump(&irt, 0, 0); in TEST_F()
83 EXPECT_FALSE(irt.Remove(iref0)) << "unexpectedly successful removal"; in TEST_F()
86 iref0 = irt.Add(obj0.Get(), &error_msg); in TEST_F()
88 CheckDump(&irt, 1, 1); in TEST_F()
89 IndirectRef iref1 = irt.Add(obj1.Get(), &error_msg); in TEST_F()
91 CheckDump(&irt, 2, 2); in TEST_F()
[all …]
/art/runtime/jni/
Dcheck_jni.cc63 IndirectReferenceTable* irt = (kind == kGlobal) ? &vm->globals_ : &vm->weak_globals_; in GetIndirectReferenceTable() local
64 DCHECK_EQ(irt->GetKind(), kind); in GetIndirectReferenceTable()
65 return irt; in GetIndirectReferenceTable()
887 IndirectReferenceTable* irt = GetIndirectReferenceTable(soa, ref_kind); in CheckInstance() local
888 okay = irt->IsValidReference(java_object, &error_msg); in CheckInstance()