Home
last modified time | relevance | path

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

/art/runtime/
Dlock_word.h101 enum LockState { enum
109 LockState GetState() const { in GetState()
166 std::ostream& operator<<(std::ostream& os, const LockWord::LockState& code);
Dmonitor_test.cc120 LockWord::LockState new_state = lock_after.GetState(); in Run()
123 if (LockWord::LockState::kThinLocked != new_state) { in Run()
125 ASSERT_EQ(LockWord::LockState::kThinLocked, new_state); // To fail the test. in Run()
132 LockWord::LockState new_state2 = lock_after2.GetState(); in Run()
135 if (LockWord::LockState::kFatLocked != new_state2) { in Run()
137 ASSERT_EQ(LockWord::LockState::kFatLocked, new_state2); // To fail the test. in Run()
/art/runtime/arch/
Dstub_test.cc615 LockWord::LockState old_state = lock.GetState(); in TEST_F()
616 EXPECT_EQ(LockWord::LockState::kUnlocked, old_state); in TEST_F()
621 LockWord::LockState new_state = lock_after.GetState(); in TEST_F()
622 EXPECT_EQ(LockWord::LockState::kThinLocked, new_state); in TEST_F()
631 LockWord::LockState l_inc_state = l_inc.GetState(); in TEST_F()
632 EXPECT_EQ(LockWord::LockState::kThinLocked, l_inc_state); in TEST_F()
645 LockWord::LockState new_state2 = lock_after2.GetState(); in TEST_F()
646 EXPECT_EQ(LockWord::LockState::kFatLocked, new_state2); in TEST_F()
688 LockWord::LockState old_state = lock.GetState(); in TestUnlockObject()
689 EXPECT_EQ(LockWord::LockState::kUnlocked, old_state); in TestUnlockObject()
[all …]