Home
last modified time | relevance | path

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

/art/runtime/
Dmonitor_test.cc121 LockWord::LockState new_state = lock_after.GetState(); in Run()
124 if (LockWord::LockState::kThinLocked != new_state) { in Run()
126 ASSERT_EQ(LockWord::LockState::kThinLocked, new_state); // To fail the test. in Run()
133 LockWord::LockState new_state2 = lock_after2.GetState(); in Run()
136 if (LockWord::LockState::kFatLocked != new_state2) { in Run()
138 ASSERT_EQ(LockWord::LockState::kFatLocked, new_state2); // To fail the test. in Run()
Dlock_word.h146 enum LockState { enum
154 LockState GetState() const { in GetState()
258 std::ostream& operator<<(std::ostream& os, const LockWord::LockState& code);
/art/runtime/arch/
Dstub_test.cc862 LockWord::LockState old_state = lock.GetState(); in TEST_F()
863 EXPECT_EQ(LockWord::LockState::kUnlocked, old_state); in TEST_F()
868 LockWord::LockState new_state = lock_after.GetState(); in TEST_F()
869 EXPECT_EQ(LockWord::LockState::kThinLocked, new_state); in TEST_F()
878 LockWord::LockState l_inc_state = l_inc.GetState(); in TEST_F()
879 EXPECT_EQ(LockWord::LockState::kThinLocked, l_inc_state); in TEST_F()
892 LockWord::LockState new_state2 = lock_after2.GetState(); in TEST_F()
893 EXPECT_EQ(LockWord::LockState::kFatLocked, new_state2); in TEST_F()
936 LockWord::LockState old_state = lock.GetState(); in TestUnlockObject()
937 EXPECT_EQ(LockWord::LockState::kUnlocked, old_state); in TestUnlockObject()
[all …]