• Home
  • Raw
  • Download

Lines Matching refs:LockWord

598   LockWord lock = obj->GetLockWord(false);  in TEST_F()
599 LockWord::LockState old_state = lock.GetState(); in TEST_F()
600 EXPECT_EQ(LockWord::LockState::kUnlocked, old_state); in TEST_F()
604 LockWord lock_after = obj->GetLockWord(false); in TEST_F()
605 LockWord::LockState new_state = lock_after.GetState(); in TEST_F()
606 EXPECT_EQ(LockWord::LockState::kThinLocked, new_state); in TEST_F()
614 LockWord l_inc = obj->GetLockWord(false); in TEST_F()
615 LockWord::LockState l_inc_state = l_inc.GetState(); in TEST_F()
616 EXPECT_EQ(LockWord::LockState::kThinLocked, l_inc_state); in TEST_F()
628 LockWord lock_after2 = obj2->GetLockWord(false); in TEST_F()
629 LockWord::LockState new_state2 = lock_after2.GetState(); in TEST_F()
630 EXPECT_EQ(LockWord::LockState::kFatLocked, new_state2); in TEST_F()
672 LockWord lock = obj->GetLockWord(false); in TestUnlockObject()
673 LockWord::LockState old_state = lock.GetState(); in TestUnlockObject()
674 EXPECT_EQ(LockWord::LockState::kUnlocked, old_state); in TestUnlockObject()
681 LockWord lock_after = obj->GetLockWord(false); in TestUnlockObject()
682 LockWord::LockState new_state = lock_after.GetState(); in TestUnlockObject()
683 EXPECT_EQ(LockWord::LockState::kUnlocked, new_state); in TestUnlockObject()
687 LockWord lock_after2 = obj->GetLockWord(false); in TestUnlockObject()
688 LockWord::LockState new_state2 = lock_after2.GetState(); in TestUnlockObject()
689 EXPECT_EQ(LockWord::LockState::kThinLocked, new_state2); in TestUnlockObject()
693 LockWord lock_after3 = obj->GetLockWord(false); in TestUnlockObject()
694 LockWord::LockState new_state3 = lock_after3.GetState(); in TestUnlockObject()
695 EXPECT_EQ(LockWord::LockState::kUnlocked, new_state3); in TestUnlockObject()
726 LockWord lock_iter = objects[index]->GetLockWord(false); in TestUnlockObject()
727 LockWord::LockState iter_state = lock_iter.GetState(); in TestUnlockObject()
729 EXPECT_EQ(LockWord::LockState::kHashCode, iter_state); in TestUnlockObject()
731 EXPECT_EQ(LockWord::LockState::kFatLocked, iter_state); in TestUnlockObject()
757 LockWord lock_iter = objects[index]->GetLockWord(true); in TestUnlockObject()
758 LockWord::LockState iter_state = lock_iter.GetState(); in TestUnlockObject()
761 EXPECT_EQ(LockWord::LockState::kFatLocked, iter_state) << index; in TestUnlockObject()
766 EXPECT_EQ(LockWord::LockState::kThinLocked, iter_state); in TestUnlockObject()
769 EXPECT_EQ(LockWord::LockState::kUnlocked, iter_state); in TestUnlockObject()
786 LockWord lock_after4 = objects[index]->GetLockWord(false); in TestUnlockObject()
787 LockWord::LockState new_state4 = lock_after4.GetState(); in TestUnlockObject()
788 EXPECT_TRUE(LockWord::LockState::kUnlocked == new_state4 in TestUnlockObject()
789 || LockWord::LockState::kFatLocked == new_state4); in TestUnlockObject()