Home
last modified time | relevance | path

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

/art/runtime/gc/
Dsystem_weak_test.cc133 CountingSystemWeakHolder cswh; in TEST_F() local
134 Runtime::Current()->AddSystemWeakHolder(&cswh); in TEST_F()
142 cswh.Set(GcRoot<mirror::Object>(s.Get())); in TEST_F()
148 EXPECT_EQ(CollectorDoesAllowOrBroadcast() ? 1U : 0U, cswh.allow_count_); in TEST_F()
149 EXPECT_EQ(CollectorDoesDisallow() ? 1U : 0U, cswh.disallow_count_); in TEST_F()
150 EXPECT_EQ(1U, cswh.sweep_count_); in TEST_F()
153 EXPECT_FALSE(cswh.Get().IsNull()); in TEST_F()
154 EXPECT_EQ(cswh.Get().Read(), s.Get()); in TEST_F()
158 CountingSystemWeakHolder cswh; in TEST_F() local
159 Runtime::Current()->AddSystemWeakHolder(&cswh); in TEST_F()
[all …]