/art/runtime/ |
D | scoped_thread_state_change-inl.h | 31 : self_(self), thread_state_(new_thread_state), expected_has_no_thread_(false) { in ScopedThreadStateChange() 32 if (UNLIKELY(self_ == nullptr)) { in ScopedThreadStateChange() 36 CHECK(runtime == nullptr || !runtime->IsStarted() || runtime->IsShuttingDown(self_)); in ScopedThreadStateChange() 44 self_->TransitionFromSuspendedToRunnable(); in ScopedThreadStateChange() 46 self_->TransitionFromRunnableToSuspended(new_thread_state); in ScopedThreadStateChange() 49 self_->SetState(new_thread_state); in ScopedThreadStateChange() 56 if (UNLIKELY(self_ == nullptr)) { in ~ScopedThreadStateChange() 65 self_->TransitionFromSuspendedToRunnable(); in ~ScopedThreadStateChange() 67 self_->TransitionFromRunnableToSuspended(old_thread_state_); in ~ScopedThreadStateChange() 70 self_->SetState(old_thread_state_); in ~ScopedThreadStateChange() [all …]
|
D | object_lock.cc | 26 ObjectLock<T>::ObjectLock(Thread* self, Handle<T> object) : self_(self), obj_(object) { in ObjectLock() 28 obj_->MonitorEnter(self_); in ObjectLock() 33 obj_->MonitorExit(self_); in ~ObjectLock() 38 Monitor::Wait(self_, obj_.Get(), 0, 0, false, kWaiting); in WaitIgnoringInterrupts() 43 obj_->Notify(self_); in Notify() 48 obj_->NotifyAll(self_); in NotifyAll() 52 ObjectTryLock<T>::ObjectTryLock(Thread* self, Handle<T> object) : self_(self), obj_(object) { in ObjectTryLock() 54 acquired_ = obj_->MonitorTryEnter(self_) != nullptr; in ObjectTryLock() 60 obj_->MonitorExit(self_); in ~ObjectTryLock()
|
D | scoped_thread_state_change.h | 50 return self_; in Self() 57 Thread* const self_ = nullptr; variable 72 return self_; in Self() 115 : self_(nullptr), env_(nullptr), vm_(reinterpret_cast<JavaVMExt*>(vm)) {} in ScopedObjectAccessAlreadyRunnable() 124 Thread* const self_; variable 203 Thread* const self_;
|
D | quick_exception_handler.cc | 42 : self_(self), in QuickExceptionHandler() 147 self_->DumpStack(LOG_STREAM(INFO) << "Delivering exception: " << exception->PrettyTypeOf() in FindCatch() 150 StackHandleScope<1> hs(self_); in FindCatch() 154 CatchBlockStackVisitor visitor(self_, context_, &exception_ref, this); in FindCatch() 170 DCHECK(!self_->IsExceptionPending()); in FindCatch() 173 self_->SetException(exception_ref.Get()); in FindCatch() 221 self_->DumpStack(LOG_STREAM(INFO) << "Setting catch phis: "); in SetCatchEnvironmentForOptimizedHandler() 512 self_->SetException(Thread::GetDeoptimizationException()); in PrepareForLongJumpToInvokeStubOrInterpreterBridge() 518 reinterpret_cast<uint8_t*>(self_) + offset); in PrepareForLongJumpToInvokeStubOrInterpreterBridge() 525 self_->DumpStack(LOG_STREAM(INFO) << "Deoptimizing: "); in DeoptimizeStack() [all …]
|
D | handle_scope-inl.h | 47 self_(self) { in StackHandleScope() 49 self_->PushHandleScope(this); in StackHandleScope() 54 BaseHandleScope* top_handle_scope = self_->PopHandleScope(); in ~StackHandleScope() 57 Locks::mutator_lock_->AssertSharedHeld(self_); in ~StackHandleScope() 201 self_(self) { in VariableSizedHandleScope() 203 self_->PushHandleScope(this); in VariableSizedHandleScope() 207 BaseHandleScope* top_handle_scope = self_->PopHandleScope(); in ~VariableSizedHandleScope()
|
D | object_lock.h | 42 Thread* const self_; 60 Thread* const self_;
|
D | thread.h | 1710 self_ = Thread::Current(); in ScopedAssertNoThreadSuspension() 1711 old_cause_ = self_->StartAssertNoThreadSuspension(cause); in ScopedAssertNoThreadSuspension() 1718 self_->EndAssertNoThreadSuspension(old_cause_); in ~ScopedAssertNoThreadSuspension() 1725 Thread* self_; 1732 : self_(self), type_(type) { in ScopedStackedShadowFramePusher() 1733 self_->PushStackedShadowFrame(sf, type); in ScopedStackedShadowFramePusher() 1736 self_->PopStackedShadowFrame(type_); in ~ScopedStackedShadowFramePusher() 1740 Thread* const self_; 1749 explicit ScopedDebugDisallowReadBarriers(Thread* self) : self_(self) { in ScopedDebugDisallowReadBarriers() 1750 self_->ModifyDebugDisallowReadBarrier(1); in ScopedDebugDisallowReadBarriers() [all …]
|
D | handle_scope.h | 267 return self_; in Self() 273 Thread* const self_; 311 Thread* const self_; variable
|
D | quick_exception_handler.h | 137 Thread* const self_;
|
D | thread.cc | 2104 explicit MonitorExitVisitor(Thread* self) : self_(self) { } in MonitorExitVisitor() 2109 if (self_->HoldsLock(entered_monitor)) { in VisitRoot() 2114 entered_monitor->MonitorExit(self_); in VisitRoot() 2119 Thread* const self_; member in art::MonitorExitVisitor 2445 self_(self), in BuildInternalStackTraceVisitor() 2454 StackHandleScope<1> hs(self_); in Init() 2463 self_->StartAssertNoThreadSuspension("Building internal stack trace"); in Init() 2464 self_->AssertPendingOOMException(); in Init() 2468 class_linker->AllocPointerArray(self_, depth * 2); in Init() 2470 self_->StartAssertNoThreadSuspension("Building internal stack trace"); in Init() [all …]
|
D | monitor.cc | 1465 MonitorDeflateVisitor() : self_(Thread::Current()), deflate_count_(0) {} in MonitorDeflateVisitor() 1469 if (Monitor::Deflate(self_, object)) { in IsMarked() 1478 Thread* const self_; member in art::MonitorDeflateVisitor 1484 Locks::mutator_lock_->AssertExclusiveHeld(visitor.self_); in DeflateMonitors()
|
/art/runtime/gc/ |
D | scoped_gc_critical_section.cc | 30 : self_(self) { in ScopedGCCriticalSection() 37 if (self_ != nullptr) { in ~ScopedGCCriticalSection() 38 self_->EndAssertNoThreadSuspension(old_cause_); in ~ScopedGCCriticalSection() 40 Runtime::Current()->GetHeap()->FinishGC(self_, collector::kGcTypeNone); in ~ScopedGCCriticalSection()
|
D | scoped_gc_critical_section.h | 40 Thread* const self_;
|
/art/runtime/entrypoints/quick/ |
D | callee_save_frame.h | 43 REQUIRES_SHARED(Locks::mutator_lock_) : self_(self), exit_check_(exit_check) { in REQUIRES_SHARED() 57 Locks::mutator_lock_->AssertSharedHeld(self_); in TestsOnEntry() 58 self_->VerifyStack(); in TestsOnEntry() 62 Locks::mutator_lock_->AssertSharedHeld(self_); in TestsOnExit() 63 self_->VerifyStack(); in TestsOnExit() 66 Thread* const self_; variable
|
/art/runtime/openjdkjvmti/ |
D | ti_redefine.cc | 301 GetMirrorClass()->MonitorEnter(driver_->self_); in ClassRedefinition() 306 GetMirrorClass()->MonitorExit(driver_->self_); in ~ClassRedefinition() 449 return driver_->self_->DecodeJObject(klass_)->AsClass(); in GetMirrorClass() 458 art::StackHandleScope<2> hs(driver_->self_); in CreateNewDexCache() 462 cl->GetClassRoot(art::ClassLinker::kJavaLangDexCache)->AllocObject(driver_->self_)))); in CreateNewDexCache() 464 driver_->self_->AssertPendingOOMException(); in CreateNewDexCache() 470 driver_->self_->AssertPendingOOMException(); in CreateNewDexCache() 473 art::WriterMutexLock mu(driver_->self_, *art::Locks::dex_lock_); in CreateNewDexCache() 474 art::mirror::DexCache::InitializeDexCache(driver_->self_, in CreateNewDexCache() 497 driver_->self_, in AllocateOrGetOriginalDexFile() [all …]
|
D | ti_redefine.h | 216 art::Thread* self_; variable 229 self_(self), in Redefiner()
|
D | ti_heap.cc | 1347 explicit ReportClassVisitor(art::Thread* self) : self_(self) {} in GetLoadedClasses() 1352 classes_.push_back(self_->GetJniEnv()->AddLocalReference<jclass>(klass)); in GetLoadedClasses() 1357 art::Thread* self_; in GetLoadedClasses() member in openjdkjvmti::HeapUtil::GetLoadedClasses::ReportClassVisitor
|
/art/runtime/gc/collector/ |
D | semi_space.cc | 65 WriterMutexLock mu(self_, *Locks::heap_bitmap_lock_); in BindBitmaps() 100 self_(nullptr), in SemiSpace() 154 self_ = Thread::Current(); in InitializePhase() 177 CHECK(Locks::mutator_lock_->IsExclusiveHeld(self_)); in MarkingPhase() 179 Locks::mutator_lock_->AssertExclusiveHeld(self_); in MarkingPhase() 182 ThreadState old_state = self_->SetStateUnsafe(kRunnable); in MarkingPhase() 188 CHECK_EQ(self_->SetStateUnsafe(old_state), kRunnable); in MarkingPhase() 216 Locks::mutator_lock_->AssertExclusiveHeld(self_); in MarkingPhase() 240 heap_->RevokeAllThreadLocalAllocationStacks(self_); in MarkingPhase() 244 WriterMutexLock mu(self_, *Locks::heap_bitmap_lock_); in MarkingPhase() [all …]
|
D | semi_space.h | 222 Thread* self_; variable
|
/art/runtime/base/ |
D | mutex.h | 493 MutexLock(Thread* self, Mutex& mu) ACQUIRE(mu) : self_(self), mu_(mu) { in MutexLock() 494 mu_.ExclusiveLock(self_); in MutexLock() 498 mu_.ExclusiveUnlock(self_); in RELEASE() 502 Thread* const self_; 518 Thread* const self_; 528 self_(self), mu_(mu) { in WriterMutexLock() 529 mu_.ExclusiveLock(self_); in WriterMutexLock() 533 mu_.ExclusiveUnlock(self_); in UNLOCK_FUNCTION() 537 Thread* const self_;
|
D | mutex-inl.h | 255 : self_(self), mu_(mu) { in ReaderMutexLock() 256 mu_.SharedLock(self_); in ReaderMutexLock() 260 mu_.SharedUnlock(self_); in ~ReaderMutexLock()
|
/art/runtime/native/ |
D | dalvik_system_ZygoteHooks.cc | 87 explicit ClassSet(Thread* const self) : self_(self) { in ClassSet() 88 self_->GetJniEnv()->PushFrame(kClassSetCapacity); in ClassSet() 92 self_->GetJniEnv()->PopFrame(); in ~ClassSet() 96 class_set_.insert(self_->GetJniEnv()->AddLocalReference<jclass>(klass.Ptr())); in AddClass() 104 Thread* const self_; member in art::ClassSet
|
/art/runtime/verifier/ |
D | method_verifier.cc | 552 : self_(self), in MethodVerifier() 1096 DCHECK(self_->IsExceptionPending()); in ScanTryCatchBlocks() 1097 self_->ClearException(); in ScanTryCatchBlocks() 1874 self_->AllowThreadSuspension(); in CodeFlowVerifyMethod() 2908 DCHECK(!can_load_classes_ || self_->IsExceptionPending()); in CodeFlowVerifyInstruction() 2909 self_->ClearException(); in CodeFlowVerifyInstruction() 2951 DCHECK(!can_load_classes_ || self_->IsExceptionPending()); in CodeFlowVerifyInstruction() 2952 self_->ClearException(); in CodeFlowVerifyInstruction() 3607 DCHECK(self_->IsExceptionPending()); in CodeFlowVerifyInstruction() 3608 self_->ClearException(); in CodeFlowVerifyInstruction() [all …]
|
D | method_verifier.h | 697 Thread* const self_; variable
|
/art/runtime/mirror/ |
D | class.cc | 1128 : self_(self), orig_(orig), new_length_(new_length), in CopyClassVisitor() 1134 StackHandleScope<1> hs(self_); in operator ()() 1137 Class::SetStatus(h_new_class_obj, Class::kStatusResolving, self_); in operator ()() 1148 Thread* const self_; member in art::mirror::CopyClassVisitor
|