Lines Matching refs:LockWord
349 static LockWord GetLockWord(jobject obj);
440 LockWord JniCompilerTest::GetLockWord(jobject obj) { in GetLockWord()
873 LockWord lock_word = GetLockWord(jobj_); in CompileAndRun_fooJJ_synchronizedImpl()
874 ASSERT_EQ(lock_word.GetState(), LockWord::kThinLocked); in CompileAndRun_fooJJ_synchronizedImpl()
880 ASSERT_EQ(lock_word.GetState(), LockWord::kThinLocked); in CompileAndRun_fooJJ_synchronizedImpl()
884 ASSERT_EQ(lock_word.GetState(), LockWord::kUnlocked); in CompileAndRun_fooJJ_synchronizedImpl()
887 constexpr uint32_t kMaxThinLockRecursiveLocks = 1u << LockWord::kThinLockCountSize; in CompileAndRun_fooJJ_synchronizedImpl()
891 ASSERT_EQ(lock_word.GetState(), LockWord::kThinLocked); in CompileAndRun_fooJJ_synchronizedImpl()
898 ASSERT_EQ(lock_word.GetState(), LockWord::kFatLocked); in CompileAndRun_fooJJ_synchronizedImpl()
905 ASSERT_EQ(lock_word.GetState(), LockWord::kFatLocked); in CompileAndRun_fooJJ_synchronizedImpl()
910 ASSERT_EQ(lock_word.GetState(), LockWord::kFatLocked); in CompileAndRun_fooJJ_synchronizedImpl()
1249 LockWord lock_word = GetLockWord(jklass_); in CompileAndRunStaticSynchronizedIntObjectObjectMethodImpl()
1250 ASSERT_EQ(lock_word.GetState(), LockWord::kThinLocked); in CompileAndRunStaticSynchronizedIntObjectObjectMethodImpl()
1256 ASSERT_EQ(lock_word.GetState(), LockWord::kThinLocked); in CompileAndRunStaticSynchronizedIntObjectObjectMethodImpl()
1260 ASSERT_EQ(lock_word.GetState(), LockWord::kUnlocked); in CompileAndRunStaticSynchronizedIntObjectObjectMethodImpl()
1263 constexpr uint32_t kMaxThinLockRecursiveLocks = 1u << LockWord::kThinLockCountSize; in CompileAndRunStaticSynchronizedIntObjectObjectMethodImpl()
1267 ASSERT_EQ(lock_word.GetState(), LockWord::kThinLocked); in CompileAndRunStaticSynchronizedIntObjectObjectMethodImpl()
1274 ASSERT_EQ(lock_word.GetState(), LockWord::kFatLocked); in CompileAndRunStaticSynchronizedIntObjectObjectMethodImpl()
1285 ASSERT_EQ(lock_word.GetState(), LockWord::kFatLocked); in CompileAndRunStaticSynchronizedIntObjectObjectMethodImpl()
1350 LockWord lock_word = GetLockWord(jobj_); in ExceptionHandlingImpl()
1351 ASSERT_EQ(lock_word.GetState(), LockWord::kUnlocked); in ExceptionHandlingImpl()
1360 EXPECT_EQ(lock_word.GetState(), LockWord::kUnlocked); in ExceptionHandlingImpl()