Home
last modified time | relevance | path

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

/art/runtime/
Dmonitor_test.cc73 LockWord::LockState new_state = lock_after.GetState(); in Run()
76 if (LockWord::LockState::kThinLocked != new_state) { in Run()
78 ASSERT_EQ(LockWord::LockState::kThinLocked, new_state); // To fail the test. in Run()
85 LockWord::LockState new_state2 = lock_after2.GetState(); in Run()
88 if (LockWord::LockState::kFatLocked != new_state2) { in Run()
90 ASSERT_EQ(LockWord::LockState::kFatLocked, new_state2); // To fail the test. in Run()
Dlock_word.h174 enum LockState { enum
182 LockState GetState() const { in GetState()
316 std::ostream& operator<<(std::ostream& os, const LockWord::LockState& code);
/art/runtime/arch/
Dstub_test.cc602 LockWord::LockState old_state = lock.GetState(); in TEST_F()
603 EXPECT_EQ(LockWord::LockState::kUnlocked, old_state); in TEST_F()
608 LockWord::LockState new_state = lock_after.GetState(); in TEST_F()
609 EXPECT_EQ(LockWord::LockState::kThinLocked, new_state); in TEST_F()
618 LockWord::LockState l_inc_state = l_inc.GetState(); in TEST_F()
619 EXPECT_EQ(LockWord::LockState::kThinLocked, l_inc_state); in TEST_F()
632 LockWord::LockState new_state2 = lock_after2.GetState(); in TEST_F()
633 EXPECT_EQ(LockWord::LockState::kFatLocked, new_state2); in TEST_F()
676 LockWord::LockState old_state = lock.GetState(); in TestUnlockObject()
677 EXPECT_EQ(LockWord::LockState::kUnlocked, old_state); in TestUnlockObject()
[all …]