Lines Matching refs:driver_

536       driver_(driver),  in ClassRedefinition()
541 GetMirrorClass()->MonitorEnter(driver_->self_); in ClassRedefinition()
545 if (driver_ != nullptr) { 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()
746 art::ClassLinker* cl = driver_->runtime_->GetClassLinker(); 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()
765 loader.IsNull() ? driver_->runtime_->GetLinearAlloc() in CreateNewDexCache()
784 driver_->self_, in AllocateOrGetOriginalDexFile()
835 art::ClassLinker* linker = driver_->runtime_->GetClassLinker(); in FindAndAllocateObsoleteMethods()
856 art::MutexLock mu(driver_->self_, *art::Locks::thread_list_lock_); in FindAndAllocateObsoleteMethods()
923 DCHECK(driver_->IsStructuralRedefinition()); in RecordNewMethodAdded()
927 DCHECK(driver_->IsStructuralRedefinition()); in RecordNewFieldAdded()
932 art::StackHandleScope<1> hs(driver_->self_); in CheckMethods()
940 const bool is_structural = driver_->IsStructuralRedefinition(); in CheckMethods()
1014 art::StackHandleScope<1> hs(driver_->self_); in CheckFields()
1037 if (driver_->IsStructuralRedefinition()) { in CheckFields()
1073 art::StackHandleScope<1> hs(driver_->self_); in CheckClass()
1152 art::StackHandleScope<1> hs(driver_->self_); in CheckRedefinable()
1156 if (driver_->type_ == RedefinitionType::kStructural && this->IsStructuralRedefinition()) { 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()
1720 art::gc::Heap* heap = driver_->runtime_->GetHeap(); in CollectAndCreateNewInstances()
1721 art::VariableSizedHandleScope hs(driver_->self_); in CollectAndCreateNewInstances()
1741 driver_->runtime_->GetClassLinker()))); 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()
1888 art::gc::Heap* heap = driver_->runtime_->GetHeap(); in FinishNewClassAllocations()
1913 driver_->runtime_->GetClassLinker()))); 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()
2053 art::ClassLinker* linker = driver_->runtime_->GetClassLinker(); 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()
2152 BreakpointUtil::RemoveBreakpointsInClass(driver_->env_, GetMirrorClass().Ptr()); in UnregisterJvmtiBreakpoints()
2546 art::verifier::ClassVerifier::ReverifyClass(driver_->self_, in ReverifyClass()
2558 art::ClassLinker* linker = driver_->runtime_->GetClassLinker(); in UpdateMethods()
2761 art::Locks::mutator_lock_->AssertExclusiveHeld(driver_->self_); in UpdateClassStructurally()
2762 art::ClassLinker* cl = driver_->runtime_->GetClassLinker(); in UpdateClassStructurally()
2894 driver_->runtime_->VisitReflectiveTargets( in UpdateClassStructurally()
2925 driver_->runtime_->GetInstrumentation()->DeoptimizeAllThreadFrames(); in UpdateClassStructurally()
2945 HeapExtensions::ReplaceReferences(driver_->self_, map); in UpdateClassStructurally()
2954 art::jit::Jit* jit = driver_->runtime_->GetJit(); in UpdateClassStructurally()
2966 art::MutexLock mu(driver_->self_, *art::Locks::thread_list_lock_); in UpdateClassStructurally()
2967 driver_->runtime_->GetThreadList()->ForEach( in UpdateClassStructurally()
3031 art::jit::Jit* jit = driver_->runtime_->GetJit(); in UpdateClassInPlace()
3034 driver_->runtime_->GetClassLinker()->GetImagePointerSize(); in UpdateClassInPlace()
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()