/art/runtime/ |
D | scoped_thread_state_change.h | 38 : self_(self), thread_state_(new_thread_state), expected_has_no_thread_(false) { in ScopedThreadStateChange() 39 if (UNLIKELY(self_ == nullptr)) { in ScopedThreadStateChange() 43 CHECK(runtime == nullptr || !runtime->IsStarted() || runtime->IsShuttingDown(self_)); in ScopedThreadStateChange() 51 self_->TransitionFromSuspendedToRunnable(); in ScopedThreadStateChange() 53 self_->TransitionFromRunnableToSuspended(new_thread_state); in ScopedThreadStateChange() 56 self_->SetState(new_thread_state); in ScopedThreadStateChange() 63 if (UNLIKELY(self_ == nullptr)) { in LOCKS_EXCLUDED() 72 self_->TransitionFromSuspendedToRunnable(); in LOCKS_EXCLUDED() 74 self_->TransitionFromRunnableToSuspended(old_thread_state_); in LOCKS_EXCLUDED() 77 self_->SetState(old_thread_state_); in LOCKS_EXCLUDED() [all …]
|
D | object_lock.cc | 25 ObjectLock<T>::ObjectLock(Thread* self, Handle<T> object) : self_(self), obj_(object) { in ObjectLock() 27 obj_->MonitorEnter(self_); in ObjectLock() 32 obj_->MonitorExit(self_); in ~ObjectLock() 37 Monitor::Wait(self_, obj_.Get(), 0, 0, false, kWaiting); in WaitIgnoringInterrupts() 42 obj_->Notify(self_); in Notify() 47 obj_->NotifyAll(self_); in NotifyAll()
|
D | quick_exception_handler.cc | 36 : self_(self), context_(self->GetLongJumpContext()), is_deoptimization_(is_deoptimization), in QuickExceptionHandler() 50 self_(self), in CatchBlockStackVisitor() 93 StackHandleScope<1> hs(self_); in HandleTryItems() 108 Thread* const self_; member in art::FINAL 122 self_->DumpStack(LOG(INFO) << "Delivering exception: " << PrettyTypeOf(exception) in FindCatch() 125 StackHandleScope<1> hs(self_); in FindCatch() 129 CatchBlockStackVisitor visitor(self_, context_, &exception_ref, this); in FindCatch() 144 DCHECK(!self_->IsExceptionPending()); in FindCatch() 147 self_->SetException(exception_ref.Get()); in FindCatch() 153 && self_->IsExceptionThrownByCurrentMethod(exception)) { in FindCatch() [all …]
|
D | handle_scope.h | 163 return self_; in Self() 178 Thread* const self_; variable 200 self_(self), in StackHandleScopeCollection() 215 new StackHandleScope<kNumReferencesPerScope>(self_); in NewHandle() 226 Thread* const self_; variable
|
D | handle_scope-inl.h | 30 : HandleScope(self->GetTopHandleScope(), kNumReferences), self_(self), pos_(0) { in StackHandleScope() 38 self_->PushHandleScope(this); in StackHandleScope() 43 HandleScope* top_handle_scope = self_->PopHandleScope(); in ~StackHandleScope()
|
D | object_lock.h | 42 Thread* const self_;
|
D | thread.h | 1300 : self_(self), old_cause_(self->StartAssertNoThreadSuspension(cause)) { in ScopedAssertNoThreadSuspension() 1303 self_->EndAssertNoThreadSuspension(old_cause_); in ~ScopedAssertNoThreadSuspension() 1306 return self_; in Self() 1310 Thread* const self_; 1317 : self_(self), type_(type) { in ScopedStackedShadowFramePusher() 1318 self_->PushStackedShadowFrame(sf, type); in ScopedStackedShadowFramePusher() 1321 self_->PopStackedShadowFrame(type_); in ~ScopedStackedShadowFramePusher() 1325 Thread* const self_;
|
D | quick_exception_handler.h | 84 Thread* const self_;
|
D | thread.cc | 1351 explicit MonitorExitVisitor(Thread* self) : self_(self) { } in MonitorExitVisitor() 1356 if (self_->HoldsLock(entered_monitor)) { in VisitRoot() 1361 entered_monitor->MonitorExit(self_); in VisitRoot() 1366 Thread* const self_; member in art::MonitorExitVisitor 1680 self_(self), in BuildInternalStackTraceVisitor() 1690 trace_ = cl->AllocPointerArray(self_, depth * 2); in Init() 1692 self_->AssertPendingOOMException(); in Init() 1697 self_->StartAssertNoThreadSuspension("Building internal stack trace"); in Init() 1704 self_->EndAssertNoThreadSuspension(nullptr); in ~BuildInternalStackTraceVisitor() 1734 Thread* const self_; member in art::BuildInternalStackTraceVisitor
|
D | debugger.cc | 2940 self_(self), in CatchLocationFinder() 2970 StackHandleScope<1> hs(self_); in VisitFrame() 3005 Thread* const self_; member in art::CatchLocationFinder
|
/art/runtime/entrypoints/quick/ |
D | callee_save_frame.h | 40 : self_(self) { in ScopedQuickEntrypointChecks() 47 : self_(kIsDebugBuild ? Thread::Current() : nullptr) { in ScopedQuickEntrypointChecks() 61 Locks::mutator_lock_->AssertSharedHeld(self_); in TestsOnEntry() 62 self_->VerifyStack(); in TestsOnEntry() 66 Locks::mutator_lock_->AssertSharedHeld(self_); in TestsOnExit() 67 self_->VerifyStack(); in TestsOnExit() 70 Thread* const self_; variable
|
/art/runtime/base/ |
D | mutex.h | 430 explicit MutexLock(Thread* self, Mutex& mu) EXCLUSIVE_LOCK_FUNCTION(mu) : self_(self), mu_(mu) { in MutexLock() 431 mu_.ExclusiveLock(self_); in MutexLock() 435 mu_.ExclusiveUnlock(self_); in UNLOCK_FUNCTION() 439 Thread* const self_; 451 self_(self), mu_(mu) { in ReaderMutexLock() 452 mu_.SharedLock(self_); in ReaderMutexLock() 456 mu_.SharedUnlock(self_); in UNLOCK_FUNCTION() 460 Thread* const self_; 473 self_(self), mu_(mu) { in WriterMutexLock() 474 mu_.ExclusiveLock(self_); in WriterMutexLock() [all …]
|
/art/runtime/gc/collector/ |
D | semi_space.cc | 64 WriterMutexLock mu(self_, *Locks::heap_bitmap_lock_); in BindBitmaps() 142 self_ = Thread::Current(); in InitializePhase() 166 CHECK(Locks::mutator_lock_->IsExclusiveHeld(self_)); in MarkingPhase() 168 Locks::mutator_lock_->AssertExclusiveHeld(self_); in MarkingPhase() 171 ThreadState old_state = self_->SetStateUnsafe(kRunnable); in MarkingPhase() 177 CHECK_EQ(self_->SetStateUnsafe(old_state), kRunnable); in MarkingPhase() 204 Locks::mutator_lock_->AssertExclusiveHeld(self_); in MarkingPhase() 228 heap_->RevokeAllThreadLocalAllocationStacks(self_); in MarkingPhase() 230 heap_->SwapStacks(self_); in MarkingPhase() 232 WriterMutexLock mu(self_, *Locks::heap_bitmap_lock_); in MarkingPhase() [all …]
|
D | semi_space.h | 226 Thread* self_; variable
|
/art/runtime/mirror/ |
D | object.cc | 106 : self_(self), orig_(orig), num_bytes_(num_bytes) { in CopyObjectVisitor() 111 Object::CopyObject(self_, obj, orig_->Get(), num_bytes_); in operator ()() 115 Thread* const self_; member in art::mirror::CopyObjectVisitor
|
D | class.cc | 833 : self_(self), orig_(orig), new_length_(new_length), in CopyClassVisitor() 839 StackHandleScope<1> hs(self_); in operator ()() 841 mirror::Object::CopyObject(self_, h_new_class_obj.Get(), orig_->Get(), copy_bytes_); in operator ()() 842 mirror::Class::SetStatus(h_new_class_obj, Class::kStatusResolving, self_); in operator ()() 848 Thread* const self_; member in art::mirror::CopyClassVisitor
|
/art/runtime/verifier/ |
D | method_verifier.cc | 386 : self_(self), in MethodVerifier() 766 DCHECK(self_->IsExceptionPending()); in ScanTryCatchBlocks() 767 self_->ClearException(); in ScanTryCatchBlocks() 1475 self_->AllowThreadSuspension(); in CodeFlowVerifyMethod() 2407 StackHandleScope<1> hs(self_); in CodeFlowVerifyInstruction() 2414 DCHECK(!can_load_classes_ || self_->IsExceptionPending()); in CodeFlowVerifyInstruction() 2415 self_->ClearException(); in CodeFlowVerifyInstruction() 2452 StackHandleScope<1> hs(self_); in CodeFlowVerifyInstruction() 2459 DCHECK(!can_load_classes_ || self_->IsExceptionPending()); in CodeFlowVerifyInstruction() 2460 self_->ClearException(); in CodeFlowVerifyInstruction() [all …]
|
D | method_verifier.h | 680 Thread* const self_; variable
|
/art/compiler/driver/ |
D | compiler_driver.cc | 874 self_->EndAssertNoThreadSuspension(old_cause_); in ~ClinitImageUpdate() 901 image_class_descriptors_(image_class_descriptors), self_(self) { in ClinitImageUpdate() 948 StackHandleScope<1> hs(self_); in VisitClinitClassesObject() 966 Thread* const self_; member in art::ClinitImageUpdate
|
/art/runtime/gc/ |
D | heap.cc | 2143 forward_address = to_space_->Alloc(self_, alloc_size, &bytes_allocated, nullptr, &dummy); in MarkNonForwardedObject()
|