Home
last modified time | relevance | path

Searched refs:thread_ (Results 1 – 17 of 17) sorted by relevance

/art/runtime/metrics/
Dreporter.cc52 DCHECK(!thread_.has_value()) << "The config cannot be reloaded after the background " in ReloadConfig()
62 CHECK(!thread_.has_value()); in MaybeStartBackgroundThread()
71 thread_.emplace(&MetricsReporter::BackgroundThreadRun, this); in MaybeStartBackgroundThread()
76 if (thread_.has_value()) { in MaybeStopBackgroundThread()
78 thread_->join(); in MaybeStopBackgroundThread()
79 thread_.reset(); in MaybeStopBackgroundThread()
84 if (ShouldReportAtStartup() && thread_.has_value()) { in NotifyStartupCompleted()
102 if (thread_.has_value()) { in RequestMetricsReport()
112 if (thread_.has_value()) { in SetCompilationInfo()
Dreporter.h173 std::optional<std::thread> thread_; variable
/art/runtime/
Dsignal_catcher.cc75 thread_(nullptr) { in SignalCatcher()
83 while (thread_ == nullptr) { in SignalCatcher()
183 signal_catcher->thread_ = self; in Run()
Dstack.cc67 : thread_(thread), in StackVisitor()
216 ShadowFrame* shadow_frame = thread_->FindDebuggerShadowFrame(frame_id); in GetVRegFromDebuggerShadowFrame()
218 bool* updated_vreg_flags = thread_->GetUpdatedVRegFlags(frame_id); in GetVRegFromDebuggerShadowFrame()
489 shadow_frame = thread_->FindOrCreateDebuggerShadowFrame(frame_id, num_regs, m, GetDexPc()); in PrepareSetVReg()
493 thread_->GetUpdatedVRegFlags(frame_id)[vreg] = true; in PrepareSetVReg()
495 thread_->GetUpdatedVRegFlags(frame_id)[vreg + 1] = true; in PrepareSetVReg()
635 HasMoreFramesVisitor visitor(thread_, walk_kind_, GetNumFrames(), GetFrameHeight()); in GetNextMethodAndDexPc()
804 DCHECK(thread_ == Thread::Current() || thread_->IsSuspended()); in WalkStack()
808 for (const ManagedStack* current_fragment = thread_->GetManagedStack(); in WalkStack()
816 LOG(INFO) << "Tid=" << thread_-> GetThreadId() in WalkStack()
[all …]
Dsignal_catcher.h57 Thread* thread_ GUARDED_BY(lock_);
Dthread_pool.h92 Thread* GetThread() const { return thread_; } in GetThread()
103 Thread* thread_; variable
Dstack.h176 return thread_; in GetThread()
217 num_frames_ = ComputeNumFrames(thread_, walk_kind_); in GetNumFrames()
385 Thread* const thread_; variable
Dmonitor_test.cc56 Thread* thread_; member in art::MonitorTest
76 monitor_test_->thread_ = self; // Pass the Thread. in Run()
193 monitor_test_->thread_->Interrupt(self); in Run()
Dthread_pool.cc140 worker->thread_ = Thread::Current(); in Callback()
142 worker->thread_->SetIsRuntimeThread(true); in Callback()
Dinstrumentation.cc656 : StackVisitor(thread, nullptr, kInstrumentationStackWalk), thread_(thread) {} in InstrumentationRestoreStack()
671 Thread* const thread_; in InstrumentationRestoreStack() member
690 thread_(thread), in HasFramesNeedingForceDeopt()
707 Thread* const thread_; in HasFramesNeedingForceDeopt() member
Dclass_linker.cc2894 #define RETURN_IF_UNRECOGNIZED_OR_FOUND_OR_EXCEPTION(call_, result_, thread_) \ argument
2904 auto local_thread = thread_; \
/art/openjdkjvmti/
Devents-inl.h448 explicit ScopedDisablePopFrame(art::Thread* thread) : thread_(thread) { in ScopedDisablePopFrame()
449 art::Locks::mutator_lock_->AssertSharedHeld(thread_); in ScopedDisablePopFrame()
450 art::MutexLock mu(thread_, *art::Locks::thread_list_lock_); in ScopedDisablePopFrame()
451 JvmtiGlobalTLSData* data = ThreadUtil::GetOrCreateGlobalTLSData(thread_); in ScopedDisablePopFrame()
453 thread_, art::StackVisitor::StackWalkKind::kIncludeInlinedFrames); in ScopedDisablePopFrame()
464 art::Locks::mutator_lock_->AssertSharedHeld(thread_); in ~ScopedDisablePopFrame()
465 art::MutexLock mu(thread_, *art::Locks::thread_list_lock_); in ~ScopedDisablePopFrame()
466 JvmtiGlobalTLSData* data = ThreadUtil::GetGlobalTLSData(thread_); in ~ScopedDisablePopFrame()
472 art::Thread* thread_;
/art/runtime/gc/space/
Dregion_space.h396 thread_(nullptr), in Region()
418 thread_ = nullptr; in Init()
625 Thread* thread_; // The owning thread if it's a tlab. variable
Dregion_space.cc875 r->thread_ = self; in AllocNewTlab()
901 r->thread_ = nullptr; in RevokeThreadLocalBuffersLocked()
966 << " thread=" << thread_ << '\n'; in Dump()
1019 thread_ = nullptr; in Clear()
Dregion_space-inl.h499 bytes = thread_->GetTlabEnd() - begin_; in BytesAllocated()
/art/runtime/jit/
Dprofile_saver.cc318 explicit ScopedDefaultPriority(pthread_t thread) : thread_(thread) { in ScopedDefaultPriority()
319 SetProfileSaverThreadPriority(thread_, GetDefaultThreadPriority()); in ScopedDefaultPriority()
323 SetProfileSaverThreadPriority(thread_, kProfileSaverPthreadPriority); in ~ScopedDefaultPriority()
327 const pthread_t thread_; member in art::ProfileSaver::ScopedDefaultPriority
/art/runtime/gc/collector/
Dconcurrent_copying.cc3173 : collector_(collector), thread_(thread) { in RefFieldsVisitor()
3201 collector_->MarkRoot</*kGrayImmuneObject=*/false>(thread_, root); in VisitRoot()
3206 Thread* const thread_; member in art::gc::collector::ConcurrentCopying::RefFieldsVisitor