Lines Matching refs:self_

541   GetMirrorClass()->MonitorEnter(driver_->self_);  in ClassRedefinition()
546 GetMirrorClass()->MonitorExit(driver_->self_); in ~ClassRedefinition()
736 return driver_->self_->DecodeJObject(klass_)->AsClass(); in GetMirrorClass()
745 art::StackHandleScope<2> hs(driver_->self_); in CreateNewDexCache()
749 art::GetClassRoot<art::mirror::DexCache>(cl)->AllocObject(driver_->self_)))); in CreateNewDexCache()
751 driver_->self_->AssertPendingOOMException(); in CreateNewDexCache()
757 driver_->self_->AssertPendingOOMException(); in CreateNewDexCache()
760 art::WriterMutexLock mu(driver_->self_, *art::Locks::dex_lock_); in CreateNewDexCache()
761 art::mirror::DexCache::InitializeDexCache(driver_->self_, in CreateNewDexCache()
784 driver_->self_, in AllocateOrGetOriginalDexFile()
856 art::MutexLock mu(driver_->self_, *art::Locks::thread_list_lock_); in FindAndAllocateObsoleteMethods()
932 art::StackHandleScope<1> hs(driver_->self_); in CheckMethods()
1014 art::StackHandleScope<1> hs(driver_->self_); in CheckFields()
1073 art::StackHandleScope<1> hs(driver_->self_); in CheckClass()
1152 art::StackHandleScope<1> hs(driver_->self_); in CheckRedefinable()
1614 art::StackHandleScope<2> hs(driver_->self_); in CheckVerification()
1618 art::verifier::ClassVerifier::VerifyClass(driver_->self_, in CheckVerification()
1655 art::StackHandleScope<2> hs(driver_->self_); in AllocateAndRememberNewDexFileCookie()
1677 new_cookie(hs.NewHandle(ClassLoaderHelper::AllocateNewDexFileCookie(driver_->self_, in AllocateAndRememberNewDexFileCookie()
1721 art::VariableSizedHandleScope hs(driver_->self_); in CollectAndCreateNewInstances()
1744 driver_->self_, obj_array_class.Get(), old_instances.size()))); in CollectAndCreateNewInstances()
1746 driver_->self_->AssertPendingOOMException(); in CollectAndCreateNewInstances()
1747 driver_->self_->ClearException(); in CollectAndCreateNewInstances()
1758 driver_->self_, obj_array_class.Get(), old_instances.size()))); in CollectAndCreateNewInstances()
1760 driver_->self_->AssertPendingOOMException(); in CollectAndCreateNewInstances()
1761 driver_->self_->ClearException(); in CollectAndCreateNewInstances()
1793 driver_->self_, driver_->runtime_->GetHeap()->GetCurrentAllocator())); in CollectAndCreateNewInstances()
1795 driver_->self_->AssertPendingOOMException(); in CollectAndCreateNewInstances()
1796 driver_->self_->ClearException(); in CollectAndCreateNewInstances()
1810 art::ScopedObjectAccessUnchecked soa(driver_->self_); in FinishRemainingCommonAllocations()
1811 art::StackHandleScope<2> hs(driver_->self_); in FinishRemainingCommonAllocations()
1819 ClassLoaderHelper::FindSourceDexFileObject(driver_->self_, loader))); in FinishRemainingCommonAllocations()
1827 driver_->self_->AssertPendingOOMException(); in FinishRemainingCommonAllocations()
1828 driver_->self_->ClearException(); in FinishRemainingCommonAllocations()
1835 driver_->self_->AssertPendingException(); in FinishRemainingCommonAllocations()
1836 driver_->self_->ClearException(); in FinishRemainingCommonAllocations()
1844 driver_->self_->AssertPendingOOMException(); in FinishRemainingCommonAllocations()
1845 driver_->self_->ClearException(); in FinishRemainingCommonAllocations()
1859 art::VariableSizedHandleScope hs(driver_->self_); in FinishNewClassAllocations()
1866 art::StackHandleScope<3> chs(driver_->self_); in FinishNewClassAllocations()
1916 driver_->self_, cls_array_class.Get(), old_types.size()))); in FinishNewClassAllocations()
1918 driver_->self_->AssertPendingOOMException(); in FinishNewClassAllocations()
1919 driver_->self_->ClearException(); in FinishNewClassAllocations()
1943 driver_->self_, cls_array_class.Get(), old_types.size()))); in FinishNewClassAllocations()
1945 driver_->self_->AssertPendingOOMException(); in FinishNewClassAllocations()
1946 driver_->self_->ClearException(); in FinishNewClassAllocations()
2036 art::StackHandleScope<2> hs(driver_->self_); in AllocateNewClassObject()
2052 art::StackHandleScope<3> hs(driver_->self_); in AllocateNewClassObject()
2057 driver_->self_, GetNewClassSize(accessor)))); in AllocateNewClassObject()
2059 driver_->self_->AssertPendingOOMException(); in AllocateNewClassObject()
2063 driver_->self_->ClearException(); in AllocateNewClassObject()
2074 art::ObjectLock<art::mirror::Class> lock(driver_->self_, new_class); in AllocateNewClassObject()
2075 new_class->SetClinitThreadId(driver_->self_->GetTid()); in AllocateNewClassObject()
2079 driver_->self_, *dex_file, dex_file->GetClassDef(dex_class_def_index), new_class); in AllocateNewClassObject()
2087 if (!linker->LinkClass(driver_->self_, nullptr, new_class, proxy_ifaces, &linked_class)) { in AllocateNewClassObject()
2090 << (driver_->self_->IsExceptionPending() ? driver_->self_->GetException()->Dump() in AllocateNewClassObject()
2093 driver_->self_->ClearException(); in AllocateNewClassObject()
2097 art::ObjectLock<art::mirror::Class> objlock(driver_->self_, linked_class); in AllocateNewClassObject()
2113 linker->ForceClassInitialized(driver_->self_, linked_class); in AllocateNewClassObject()
2116 art::mirror::Class::SetStatus(linked_class, old_class->GetStatus(), driver_->self_); in AllocateNewClassObject()
2124 driver_->self_->AssertPendingOOMException(); in AllocateNewClassObject()
2125 driver_->self_->ClearException(); in AllocateNewClassObject()
2256 : heap_(heap), self_(self) { in ScopedDisableConcurrentAndMovingGc()
2258 heap_->IncrementDisableMovingGC(self_); in ScopedDisableConcurrentAndMovingGc()
2264 heap_->DecrementDisableMovingGC(self_); in ~ScopedDisableConcurrentAndMovingGc()
2269 art::Thread* self_; member in openjdkjvmti::ScopedDisableConcurrentAndMovingGc
2275 : self_(self), in REQUIRES_SHARED()
2283 art::Locks::mutator_lock_->AssertSharedHeld(self_); in REQUIRES_SHARED()
2286 art::Locks::mutator_lock_->AssertSharedHeld(self_); in REQUIRES_SHARED()
2291 art::Locks::mutator_lock_->AssertExclusiveHeld(self_); in Release()
2295 art::MutexLock mu(self_, release_mu_); in Release()
2300 release_cond_.Broadcast(self_); in Release()
2304 release_barrier_.Increment</*locks=*/art::Barrier::kAllowHoldingLocks>(self_, count); in Release()
2311 if (this_thread == self_) { in BeginDefineClass()
2318 << " allowed to proceed despite class-def pause initiated by " << *self_; in BeginDefineClass()
2329 << "initiated by " << *self_; in BeginDefineClass()
2339 if (this_thread == self_) { in EndDefineClass()
2357 barrier_.Increment(self_, t); in WaitFor()
2361 art::Thread* self_; member in openjdkjvmti::ClassDefinitionPauser
2375 : self_(self), runtime_(runtime), pauser_() { in ScopedSuspendClassLoading()
2382 art::ScopedThreadSuspension sts(self_, art::ThreadState::kNative); in ScopedSuspendClassLoading()
2388 art::MutexLock mu(self_, *art::Locks::thread_list_lock_); in ScopedSuspendClassLoading()
2390 if (t != self_ && t->GetDefineClassCount() != 0) { in ScopedSuspendClassLoading()
2403 art::ScopedThreadSuspension sts(self_, art::ThreadState::kNative); in ~ScopedSuspendClassLoading()
2411 art::Thread* self_; member in openjdkjvmti::ScopedSuspendClassLoading
2447 art::StackHandleScope<1> hs(self_); in Run()
2457 RedefinitionDataHolder holder(&hs, runtime_, self_, &redefinitions_); in Run()
2459 self_->AssertPendingOOMException(); in Run()
2460 self_->ClearException(); in Run()
2476 ScopedSuspendClassLoading suspend_class_load(self_, runtime_, holder); in Run()
2494 cl->AppendToBootClassPath(self_, &data.GetRedefinition().GetDexFile()); in Run()
2502 ScopedDisableConcurrentAndMovingGc sdcamgc(runtime_->GetHeap(), self_); in Run()
2507 art::ScopedThreadSuspension sts(self_, art::ThreadState::kNative); in Run()
2546 art::verifier::ClassVerifier::ReverifyClass(driver_->self_, in ReverifyClass()
2761 art::Locks::mutator_lock_->AssertExclusiveHeld(driver_->self_); in UpdateClassStructurally()
2945 HeapExtensions::ReplaceReferences(driver_->self_, map); in UpdateClassStructurally()
2966 art::MutexLock mu(driver_->self_, *art::Locks::thread_list_lock_); in UpdateClassStructurally()
3115 art::StackHandleScope<2> hs(driver_->self_); in EnsureClassAllocationsFinished()
3117 driver_->self_->DecodeJObject(klass_)->AsClass())); in EnsureClassAllocationsFinished()
3124 hs.NewHandle(art::mirror::Class::EnsureExtDataPresent(klass, driver_->self_)); in EnsureClassAllocationsFinished()
3127 driver_->self_->AssertPendingOOMException(); in EnsureClassAllocationsFinished()
3128 driver_->self_->ClearException(); in EnsureClassAllocationsFinished()
3142 ext, driver_->self_, klass->GetDeclaredMethodsSlice(art::kRuntimePointerSize).size())) { in EnsureClassAllocationsFinished()
3144 driver_->self_->AssertPendingOOMException(); in EnsureClassAllocationsFinished()
3145 driver_->self_->ClearException(); in EnsureClassAllocationsFinished()