Home
last modified time | relevance | path

Searched refs:owner_ (Results 1 – 6 of 6) sorted by relevance

/art/openjdkjvmti/
Dti_monitor.cc59 JvmtiMonitor() : owner_(nullptr), count_(0) { } in JvmtiMonitor()
63 art::Thread* owner_thread = monitor->owner_.load(std::memory_order_relaxed); in Destroy()
70 monitor->owner_.store(nullptr, std::memory_order_relaxed); in Destroy()
115 DCHECK(owner_.load(std::memory_order_relaxed) == nullptr); in MonitorEnter()
116 owner_.store(self, std::memory_order_relaxed); in MonitorEnter()
128 owner_.store(nullptr, std::memory_order_relaxed); in MonitorExit()
162 art::Thread* owner_thread = owner_.load(std::memory_order_relaxed); in IsOwner()
176 owner_.store(nullptr, std::memory_order_relaxed); in Wait()
185 CHECK(owner_.load(std::memory_order_relaxed) == nullptr); in Wait()
191 CHECK(owner_.load(std::memory_order_relaxed) == self); in Wait()
[all …]
Dti_object.cc99 usage->owner = info.owner_ != nullptr ? in GetObjectMonitorUsage()
100 jni->AddLocalReference<jthread>(info.owner_->GetPeerFromOtherThread()) : nullptr; in GetObjectMonitorUsage()
112 if (thd != info.owner_ && target.Ptr() == thd->GetMonitorEnterObject()) { in GetObjectMonitorUsage()
/art/runtime/
Dmonitor.cc96 owner_(owner), in Monitor()
119 owner_(owner), in Monitor()
148 CHECK(owner_ == nullptr || owner_ == self || owner_->IsSuspended()); in Install()
153 CHECK_EQ(owner_->GetThreadId(), lw.ThinLockOwner()); in Install()
178 if (success && owner_ != nullptr && lock_profiling_threshold_ != 0) { in Install()
181 locking_method_ = owner_->GetCurrentMethod(&locking_dex_pc_, false); in Install()
212 NextMethodVisitor nmv(owner_); in Install()
227 DCHECK(owner_ == Thread::Current()); in AppendToWaitSet()
244 DCHECK(owner_ == Thread::Current()); in RemoveFromWaitSet()
371 if (owner_ == nullptr) { // Unowned. in TryLockLocked()
[all …]
Dmonitor.h125 return owner_; in GetOwner()
296 Thread* volatile owner_ GUARDED_BY(monitor_lock_);
370 MonitorInfo() : owner_(nullptr), entry_count_(0) {} in MonitorInfo()
375 Thread* owner_; variable
/art/compiler/debug/
Delf_debug_info_writer.h120 : owner_(owner), in ElfCompilationUnitWriter()
121 info_(Is64BitInstructionSet(owner_->builder_->GetIsa()), &owner->debug_abbrev_) { in ElfCompilationUnitWriter()
127 ? owner_->builder_->GetText()->GetAddress() in Write()
129 const bool is64bit = Is64BitInstructionSet(owner_->builder_->GetIsa()); in Write()
141 dwarf::Writer<> debug_ranges(&owner_->debug_ranges_); in Write()
142 info_.WriteSecOffset(DW_AT_ranges, owner_->debug_ranges_.size()); in Write()
189 bool unique = owner_->defined_dex_classes_.insert(dex_class_desc).second; in Write()
297 const size_t offset = owner_->builder_->GetDebugInfo()->GetPosition(); in Write()
300 WriteDebugInfoCU(debug_abbrev_offset, info_, offset, &buffer, &owner_->debug_info_patches_); in Write()
301 owner_->builder_->GetDebugInfo()->WriteFully(buffer.data(), buffer.size()); in Write()
[all …]
/art/compiler/linker/
Delf_builder.h107 owner_(owner), in Section()
126 AllocateVirtualMemory(owner_->virtual_address_, size); in AllocateVirtualMemory()
136 CHECK_LE(owner_->virtual_address_, header_.sh_addr); in AllocateVirtualMemory()
137 owner_->virtual_address_ = header_.sh_addr + header_.sh_size; in AllocateVirtualMemory()
142 CHECK(owner_->current_section_ == nullptr); in Start()
145 header_.sh_offset = owner_->AlignFileOffset(align); in Start()
146 owner_->current_section_ = this; in Start()
151 CHECK(owner_->current_section_ == this); in End()
155 owner_->current_section_ = nullptr; in End()
161 CHECK(owner_->current_section_ == this); in GetPosition()
[all …]