Home
last modified time | relevance | path

Searched refs:lock_word (Results 1 – 12 of 12) sorted by relevance

/art/runtime/
Dmonitor.cc1061 LockWord lock_word, in InflateThinLocked() argument
1064 DCHECK_EQ(lock_word.GetState(), LockWord::kThinLocked); in InflateThinLocked()
1065 uint32_t owner_thread_id = lock_word.ThinLockOwner(); in InflateThinLocked()
1081 lock_word = obj->GetLockWord(true); in InflateThinLocked()
1082 if (lock_word.GetState() == LockWord::kThinLocked && in InflateThinLocked()
1083 lock_word.ThinLockOwner() == owner_thread_id) { in InflateThinLocked()
1123 LockWord lock_word = h_obj->GetLockWord(false); in MonitorEnter() local
1124 switch (lock_word.GetState()) { in MonitorEnter()
1127 LockWord thin_locked(LockWord::FromThinLockId(thread_id, 0, lock_word.GCState())); in MonitorEnter()
1128 if (h_obj->CasLockWord(lock_word, thin_locked, CASMode::kWeak, std::memory_order_acquire)) { in MonitorEnter()
[all …]
Dmonitor.h133 static bool IsValidLockWord(LockWord lock_word);
164 LockWord lock_word,
Dmonitor_inflation.md7 the system hash code if one has been computed for the object. See `lock_word.h` for details.
DAndroid.bp778 "lock_word.h",
/art/runtime/gc/collector/
Dsemi_space-inl.h31 LockWord lock_word = obj->GetLockWord(false); in GetForwardingAddressInFromSpace() local
32 if (lock_word.GetState() != LockWord::kForwardingAddress) { in GetForwardingAddressInFromSpace()
35 return reinterpret_cast<mirror::Object*>(lock_word.ForwardingAddress()); in GetForwardingAddressInFromSpace()
/art/compiler/jni/
Djni_compiler_test.cc870 LockWord lock_word = GetLockWord(jobj_); in CompileAndRun_fooJJ_synchronizedImpl() local
871 ASSERT_EQ(lock_word.GetState(), LockWord::kThinLocked); in CompileAndRun_fooJJ_synchronizedImpl()
872 ASSERT_EQ(lock_word.ThinLockCount(), 0u); in CompileAndRun_fooJJ_synchronizedImpl()
876 lock_word = GetLockWord(jobj_); in CompileAndRun_fooJJ_synchronizedImpl()
877 ASSERT_EQ(lock_word.GetState(), LockWord::kThinLocked); in CompileAndRun_fooJJ_synchronizedImpl()
878 ASSERT_EQ(lock_word.ThinLockCount(), 0u); in CompileAndRun_fooJJ_synchronizedImpl()
880 lock_word = GetLockWord(jobj_); in CompileAndRun_fooJJ_synchronizedImpl()
881 ASSERT_EQ(lock_word.GetState(), LockWord::kUnlocked); in CompileAndRun_fooJJ_synchronizedImpl()
887 lock_word = GetLockWord(jobj_); in CompileAndRun_fooJJ_synchronizedImpl()
888 ASSERT_EQ(lock_word.GetState(), LockWord::kThinLocked); in CompileAndRun_fooJJ_synchronizedImpl()
[all …]
/art/tools/cpp-define-generator/
Dlockword.def18 #include "lock_word.h"
/art/runtime/arch/arm/
Dasm_support_arm.S377 @ (lock_word.ThreadId() ^ self->ThreadId()).
/art/runtime/jni/
Djni_internal_test.cc2528 LockWord lock_word = soa.Decode<mirror::Object>(jobj)->GetLockWord(true); in IsLocked() local
2529 switch (lock_word.GetState()) { in IsLocked()
2536 return lock_word.FatLockMonitor()->IsLocked(); in IsLocked()
2538 LOG(FATAL) << "Invalid monitor state " << lock_word.GetState(); in IsLocked()
/art/compiler/optimizing/
Dcode_generator_arm64.cc7228 vixl::aarch64::MemOperand& lock_word, in EmitGrayCheckAndFastPath() argument
7233 __ Ldr(ip0.W(), lock_word); in EmitGrayCheckAndFastPath()
7311 MemOperand lock_word(holder_reg, mirror::Object::MonitorOffset().Int32Value()); in CompileBakerReadBarrierThunk() local
7312 EmitGrayCheckAndFastPath(assembler, base_reg, lock_word, &slow_path, throw_npe); in CompileBakerReadBarrierThunk()
7341 MemOperand lock_word(base_reg, mirror::Object::MonitorOffset().Int32Value() - data_offset); in CompileBakerReadBarrierThunk() local
7342 DCHECK_LT(lock_word.GetOffset(), 0); in CompileBakerReadBarrierThunk()
7343 EmitGrayCheckAndFastPath(assembler, base_reg, lock_word, &slow_path); in CompileBakerReadBarrierThunk()
7369 MemOperand lock_word(root_reg.X(), mirror::Object::MonitorOffset().Int32Value()); in CompileBakerReadBarrierThunk() local
7370 __ Ldr(ip0.W(), lock_word); in CompileBakerReadBarrierThunk()
Dcode_generator_arm_vixl.cc10237 vixl32::MemOperand& lock_word, in EmitGrayCheckAndFastPath() argument
10242 __ Ldr(ip, lock_word); in EmitGrayCheckAndFastPath()
10304 MemOperand lock_word(holder_reg, mirror::Object::MonitorOffset().Int32Value()); in CompileBakerReadBarrierThunk() local
10309 assembler, base_reg, lock_word, &slow_path, raw_ldr_offset, throw_npe); in CompileBakerReadBarrierThunk()
10343 MemOperand lock_word(base_reg, mirror::Object::MonitorOffset().Int32Value() - data_offset); in CompileBakerReadBarrierThunk() local
10344 DCHECK_LT(lock_word.GetOffsetImmediate(), 0); in CompileBakerReadBarrierThunk()
10346 EmitGrayCheckAndFastPath(assembler, base_reg, lock_word, &slow_path, raw_ldr_offset); in CompileBakerReadBarrierThunk()
10375 MemOperand lock_word(root_reg, mirror::Object::MonitorOffset().Int32Value()); in CompileBakerReadBarrierThunk() local
10376 __ Ldr(ip, lock_word); in CompileBakerReadBarrierThunk()
/art/dex2oat/linker/
Dimage_writer.cc846 LockWord lock_word = object->GetLockWord(false); in IsImageBinSlotAssigned() local
847 size_t offset = lock_word.ForwardingAddress(); in IsImageBinSlotAssigned()
861 LockWord lock_word = object->GetLockWord(false); in GetImageBinSlot() local
862 size_t offset = lock_word.ForwardingAddress(); // TODO: ForwardingAddress should be uint32_t in GetImageBinSlot()