Home
last modified time | relevance | path

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

/art/runtime/
Dindirect_reference_table_test.cc33 static void CheckDump(IndirectReferenceTable* irt, size_t num_objects, size_t num_unique) in CheckDump() argument
36 irt->Dump(oss); in CheckDump()
58 IndirectReferenceTable irt(kTableMax, in TEST_F() local
62 ASSERT_TRUE(irt.IsValid()) << error_msg; in TEST_F()
79 CheckDump(&irt, 0, 0); in TEST_F()
82 EXPECT_FALSE(irt.Remove(cookie, iref0)) << "unexpectedly successful removal"; in TEST_F()
85 iref0 = irt.Add(cookie, obj0.Get(), &error_msg); in TEST_F()
87 CheckDump(&irt, 1, 1); in TEST_F()
88 IndirectRef iref1 = irt.Add(cookie, obj1.Get(), &error_msg); in TEST_F()
90 CheckDump(&irt, 2, 2); in TEST_F()
[all …]
/art/runtime/jni/
Djni_internal_test.cc2569 IndirectReferenceTable irt(5, in TEST_F() local
2573 ASSERT_TRUE(irt.IsValid()) << error_msg; in TEST_F()
2574 IRTSegmentState old_state = irt.GetSegmentState(); in TEST_F()
2581 uint8_t* base = reinterpret_cast<uint8_t*>(&irt); in TEST_F()
2587 EXPECT_EQ(new_state.top_index, irt.GetSegmentState().top_index); in TEST_F()
Dcheck_jni.cc61 IndirectReferenceTable* irt = in GetIndirectReferenceTable() local
64 DCHECK_EQ(irt->GetKind(), kind); in GetIndirectReferenceTable()
65 return irt; in GetIndirectReferenceTable()
877 IndirectReferenceTable* irt = GetIndirectReferenceTable(soa, ref_kind); in CheckInstance() local
878 okay = irt->IsValidReference(java_object, &error_msg); in CheckInstance()
886 obj = irt->Get<kWithoutReadBarrier>(ref); in CheckInstance()