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.h176 enum LockState { enum
184 LockState GetState() const { in GetState()
319 std::ostream& operator<<(std::ostream& os, LockWord::LockState code);
/art/runtime/arch/
Dstub_test.cc470 LockWord::LockState old_state = lock.GetState(); in TEST_F()
471 EXPECT_EQ(LockWord::LockState::kUnlocked, old_state); in TEST_F()
476 LockWord::LockState new_state = lock_after.GetState(); in TEST_F()
477 EXPECT_EQ(LockWord::LockState::kThinLocked, new_state); in TEST_F()
486 LockWord::LockState l_inc_state = l_inc.GetState(); in TEST_F()
487 EXPECT_EQ(LockWord::LockState::kThinLocked, l_inc_state); in TEST_F()
500 LockWord::LockState new_state2 = lock_after2.GetState(); in TEST_F()
501 EXPECT_EQ(LockWord::LockState::kFatLocked, new_state2); in TEST_F()
544 LockWord::LockState old_state = lock.GetState(); in TestUnlockObject()
545 EXPECT_EQ(LockWord::LockState::kUnlocked, old_state); in TestUnlockObject()
[all …]