/art/runtime/gc/ |
H A D | scoped_gc_critical_section.cc | 30 : self_(self) { 37 if (self_ != nullptr) { 38 self_->EndAssertNoThreadSuspension(old_cause_); 40 Runtime::Current()->GetHeap()->FinishGC(self_, collector::kGcTypeNone);
|
H A D | scoped_gc_critical_section.h | 40 Thread* const self_; member in class:art::gc::ScopedGCCriticalSection
|
/art/runtime/ |
H A D | object_lock.cc | 26 ObjectLock<T>::ObjectLock(Thread* self, Handle<T> object) : self_(self), obj_(object) { 28 obj_->MonitorEnter(self_); 33 obj_->MonitorExit(self_); 38 Monitor::Wait(self_, obj_.Get(), 0, 0, false, kWaiting); 43 obj_->Notify(self_); 48 obj_->NotifyAll(self_); 52 ObjectTryLock<T>::ObjectTryLock(Thread* self, Handle<T> object) : self_(self), obj_(object) { 54 acquired_ = obj_->MonitorTryEnter(self_) != nullptr; 60 obj_->MonitorExit(self_);
|
H A D | scoped_thread_state_change-inl.h | 33 : self_(self), thread_state_(new_thread_state), expected_has_no_thread_(false) { 34 if (UNLIKELY(self_ == nullptr)) { 38 CHECK(runtime == nullptr || !runtime->IsStarted() || runtime->IsShuttingDown(self_)); 46 self_->TransitionFromSuspendedToRunnable(); 48 self_->TransitionFromRunnableToSuspended(new_thread_state); 51 self_->SetState(new_thread_state); 58 if (UNLIKELY(self_ == nullptr)) { 67 self_->TransitionFromSuspendedToRunnable(); 69 self_->TransitionFromRunnableToSuspended(old_thread_state_); 72 self_ [all...] |
H A D | object_lock.h | 42 Thread* const self_; member in class:art::ObjectLock 60 Thread* const self_; member in class:art::ObjectTryLock
|
H A D | scoped_thread_state_change.h | 50 return self_; 57 Thread* const self_ = nullptr; member in class:art::ScopedThreadStateChange 72 return self_; 115 : self_(nullptr), env_(nullptr), vm_(reinterpret_cast<JavaVMExt*>(vm)) {} 124 Thread* const self_; member in class:art::ScopedObjectAccessAlreadyRunnable 203 Thread* const self_; member in class:art::ScopedThreadSuspension
|
H A D | jni_env_ext.cc | 75 : self_(self_in), 190 locked_objects_.push_back(std::make_pair(GetJavaCallFrame(self_), obj)); 232 uintptr_t current_frame = GetJavaCallFrame(self_); 240 ObjPtr<mirror::Object> mirror_obj = self_->DecodeJObject(obj); 242 if (self_->DecodeJObject(pair.second) == mirror_obj) { 243 std::string monitor_descr = ComputeMonitorDescription(self_, pair.second); 257 RemoveMonitors(self_, current_frame, &monitors_, &locked_objects_); 267 uintptr_t current_frame = GetJavaCallFrame(self_); 270 std::string monitor_descr = ComputeMonitorDescription(self_, pair.second); 276 RemoveMonitors(self_, current_fram [all...] |
H A D | hidden_api_test.cc | 33 self_ = Thread::Current(); 34 self_->TransitionFromSuspendedToRunnable(); 72 Thread* self_; member in class:art::HiddenApiTest 146 ScopedObjectAccess soa(self_); 165 ScopedObjectAccess soa(self_); 184 ScopedObjectAccess soa(self_); 200 ScopedObjectAccess soa(self_); 215 ScopedObjectAccess soa(self_); 228 ScopedObjectAccess soa(self_); 239 ScopedObjectAccess soa(self_); [all...] |
H A D | handle_scope-inl.h | 47 self_(self) { 49 self_->PushHandleScope(this); 54 BaseHandleScope* top_handle_scope = self_->PopHandleScope(); 57 Locks::mutator_lock_->AssertSharedHeld(self_); 201 self_(self) { 203 self_->PushHandleScope(this); 207 BaseHandleScope* top_handle_scope = self_->PopHandleScope();
|
H A D | quick_exception_handler.cc | 44 : self_(self), 146 StackHandleScope<1> hs(self_); 151 self_->DumpStack(LOG_STREAM(INFO) << "Delivering exception: " << exception_ref->PrettyTypeOf() 156 CatchBlockStackVisitor visitor(self_, context_, &exception_ref, this); 171 DCHECK(!self_->IsExceptionPending()); 174 self_->SetException(exception_ref.Get()); 222 self_->DumpStack(LOG_STREAM(INFO) << "Setting catch phis: "); 516 self_->SetException(Thread::GetDeoptimizationException()); 522 reinterpret_cast<uint8_t*>(self_) + offset); 529 self_ [all...] |
H A D | thread.h | 1784 self_ = Thread::Current(); 1785 old_cause_ = self_->StartAssertNoThreadSuspension(cause); 1795 self_->EndAssertNoThreadSuspension(old_cause_); 1802 Thread* self_; member in class:art::ScopedAssertNoThreadSuspension 1810 : self_(self), type_(type) { 1811 self_->PushStackedShadowFrame(sf, type); 1814 self_->PopStackedShadowFrame(type_); 1818 Thread* const self_; member in class:art::ScopedStackedShadowFramePusher 1827 explicit ScopedDebugDisallowReadBarriers(Thread* self) : self_(self) { 1828 self_ 1835 Thread* const self_; member in class:art::ScopedDebugDisallowReadBarriers 1855 Thread* const self_; member in class:art::ScopedTransitioningToRunnable [all...] |
H A D | handle_scope.h | 268 return self_; 274 Thread* const self_; variable 312 Thread* const self_; member in class:art::VariableSizedHandleScope
|
H A D | quick_exception_handler.h | 142 Thread* const self_; member in class:art::QuickExceptionHandler
|
H A D | jni_env_ext.h | 98 Thread* GetSelf() const { return self_; } 162 Thread* const self_; member in class:art::JNIEnvExt
|
H A D | monitor.cc | 398 ScopedAssertNotHeld(Thread* self, Mutex& mu) : self_(self), mu_(mu) { 399 mu_.AssertNotHeld(self_); 403 mu_.AssertNotHeld(self_); 407 Thread* const self_; member in class:art::ScopedAssertNotHeld 1570 MonitorDeflateVisitor() : self_(Thread::Current()), deflate_count_(0) {} 1574 if (Monitor::Deflate(self_, object)) { 1583 Thread* const self_; member in class:art::MonitorDeflateVisitor 1589 Locks::mutator_lock_->AssertExclusiveHeld(visitor.self_);
|
/art/runtime/entrypoints/quick/ |
H A D | callee_save_frame.h | 43 REQUIRES_SHARED(Locks::mutator_lock_) : self_(self), exit_check_(exit_check) { 57 Locks::mutator_lock_->AssertSharedHeld(self_); 58 self_->VerifyStack(); 62 Locks::mutator_lock_->AssertSharedHeld(self_); 63 self_->VerifyStack(); 66 Thread* const self_; member in class:art::ScopedQuickEntrypointChecks
|
/art/openjdkjvmti/ |
H A D | ti_redefine.cc | 330 GetMirrorClass()->MonitorEnter(driver_->self_); 335 GetMirrorClass()->MonitorExit(driver_->self_); 475 return driver_->self_->DecodeJObject(klass_)->AsClass(); 484 art::StackHandleScope<2> hs(driver_->self_); 488 cl->GetClassRoot(art::ClassLinker::kJavaLangDexCache)->AllocObject(driver_->self_)))); 490 driver_->self_->AssertPendingOOMException(); 496 driver_->self_->AssertPendingOOMException(); 499 art::WriterMutexLock mu(driver_->self_, *art::Locks::dex_lock_); 500 art::mirror::DexCache::InitializeDexCache(driver_->self_, 523 driver_->self_, 1327 art::Thread* self_; member in class:openjdkjvmti::ScopedDisableConcurrentAndMovingGc [all...] |
H A D | deopt_manager.cc | 275 : self_(self), deopt_(deopt), uninterruptible_cause_(nullptr) { 276 deopt_->WaitForDeoptimizationToFinishLocked(self_); 281 deopt_->deoptimization_status_lock_.Unlock(self_); 284 uninterruptible_cause_ = self_->StartAssertNoThreadSuspension("JVMTI deoptimizing methods"); 291 self_->EndAssertNoThreadSuspension(uninterruptible_cause_); 295 art::MutexLock lk(self_, deopt_->deoptimization_status_lock_); 297 deopt_->deoptimization_condition_.Broadcast(self_); 301 art::Thread* self_; member in class:openjdkjvmti::ScopedDeoptimizationContext
|
H A D | ti_redefine.h | 219 art::Thread* self_; member in class:openjdkjvmti::Redefiner 232 self_(self),
|
/art/runtime/gc/collector/ |
H A D | semi_space.cc | 65 WriterMutexLock mu(self_, *Locks::heap_bitmap_lock_); 100 self_(nullptr), 154 self_ = Thread::Current(); 177 CHECK(Locks::mutator_lock_->IsExclusiveHeld(self_)); 179 Locks::mutator_lock_->AssertExclusiveHeld(self_); 182 ThreadState old_state = self_->SetStateUnsafe(kRunnable); 188 CHECK_EQ(self_->SetStateUnsafe(old_state), kRunnable); 215 Locks::mutator_lock_->AssertExclusiveHeld(self_); 239 heap_->RevokeAllThreadLocalAllocationStacks(self_); 243 WriterMutexLock mu(self_, *Lock [all...] |
H A D | semi_space.h | 222 Thread* self_; member in class:art::gc::collector::SemiSpace
|
/art/runtime/native/ |
H A D | dalvik_system_ZygoteHooks.cc | 94 explicit ClassSet(Thread* const self) : self_(self) { 95 self_->GetJniEnv()->PushFrame(kClassSetCapacity); 99 self_->GetJniEnv()->PopFrame(); 103 class_set_.insert(self_->GetJniEnv()->AddLocalReference<jclass>(klass.Ptr())); 111 Thread* const self_; member in class:art::ClassSet
|
/art/runtime/base/ |
H A D | mutex.h | 512 MutexLock(Thread* self, Mutex& mu) ACQUIRE(mu) : self_(self), mu_(mu) { 513 mu_.ExclusiveLock(self_); 517 mu_.ExclusiveUnlock(self_); 521 Thread* const self_; member in class:art::MutexLock 537 Thread* const self_; member in class:art::ReaderMutexLock 547 self_(self), mu_(mu) { 548 mu_.ExclusiveLock(self_); 552 mu_.ExclusiveUnlock(self_); 556 Thread* const self_; member in class:art::WriterMutexLock
|
H A D | mutex-inl.h | 285 : self_(self), mu_(mu) { 286 mu_.SharedLock(self_); 290 mu_.SharedUnlock(self_);
|
/art/runtime/verifier/ |
H A D | method_verifier.cc | 562 : self_(self), 1008 DCHECK(self_->IsExceptionPending()); 1009 self_->ClearException(); 1815 self_->AllowThreadSuspension(); 2896 DCHECK(!can_load_classes_ || self_->IsExceptionPending()); 2897 self_->ClearException(); 2941 DCHECK(!can_load_classes_ || self_->IsExceptionPending()); 2942 self_->ClearException(); 3539 DCHECK(self_->IsExceptionPending()); 3540 self_ [all...] |