Home
last modified time | relevance | path

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

/art/runtime/gc/
Dsystem_weak_test.cc136 CountingSystemWeakHolder cswh; in TEST_F() local
137 Runtime::Current()->AddSystemWeakHolder(&cswh); in TEST_F()
145 cswh.Set(GcRoot<mirror::Object>(s.Get())); in TEST_F()
151 EXPECT_EQ(CollectorDoesAllowOrBroadcast() ? 1U : 0U, cswh.allow_count_); in TEST_F()
152 EXPECT_EQ(CollectorDoesDisallow() ? 1U : 0U, cswh.disallow_count_); in TEST_F()
153 EXPECT_EQ(1U, cswh.sweep_count_); in TEST_F()
156 EXPECT_FALSE(cswh.Get().IsNull()); in TEST_F()
157 EXPECT_EQ(cswh.Get().Read(), s.Get()); in TEST_F()
161 CountingSystemWeakHolder cswh; in TEST_F() local
162 Runtime::Current()->AddSystemWeakHolder(&cswh); in TEST_F()
[all …]