Home
last modified time | relevance | path

Searched refs:old_methods (Results 1 – 4 of 4) sorted by relevance

/art/runtime/mirror/
Dclass_ext.cc67 Handle<PointerArray> old_methods(hs.NewHandle(h_this->GetObsoleteMethods())); in ExtendObsoleteArrays() local
71 if (old_methods == nullptr) { in ExtendObsoleteArrays()
75 CHECK_EQ(old_methods->GetLength(), old_dex_caches->GetLength()); in ExtendObsoleteArrays()
76 new_len = increase + old_methods->GetLength(); in ExtendObsoleteArrays()
97 if (!old_methods.IsNull()) { in ExtendObsoleteArrays()
100 old_methods.Get(), in ExtendObsoleteArrays()
102 old_methods->GetLength(), in ExtendObsoleteArrays()
/art/runtime/jni/
Djni_id_manager.cc487 ObjPtr<mirror::PointerArray> old_methods(old_ext_data->GetJMethodIDsPointerArray()); in VisitReflectiveTargets() local
488 if (!old_methods.IsNull()) { in VisitReflectiveTargets()
489 old_methods->SetElementPtrSize(old_off, 0, kRuntimePointerSize); in VisitReflectiveTargets()
/art/openjdkjvmti/
Dti_redefine.cc960 const auto old_methods = old_accessor.GetMethods(); in CheckMethods() local
965 std::find_if(old_methods.cbegin(), old_methods.cend(), [&](const auto& current_old_method) { in CheckMethods()
973 if (old_iter == old_methods.cend()) { in CheckMethods()
989 size_t off = std::distance(old_methods.cbegin(), old_iter); in CheckMethods()
1002 auto fail = old_methods.cbegin(); in CheckMethods()
3086 art::ObjPtr<art::mirror::PointerArray> old_methods = cur_data->GetOldObsoleteMethods(); in RestoreObsoleteMethodMapsIfUnneeded() local
3087 int32_t old_length = old_methods == nullptr ? 0 : old_methods->GetLength(); in RestoreObsoleteMethodMapsIfUnneeded()
3098 expected = old_methods->GetElementPtrSize<art::ArtMethod*>(i, art::kRuntimePointerSize); in RestoreObsoleteMethodMapsIfUnneeded()
/art/runtime/
Dclass_linker.cc7750 void ClobberOldMethods(LengthPrefixedArray<ArtMethod>* old_methods, in ClobberOldMethods() argument
7755 if (methods != old_methods && old_methods != nullptr) { in ClobberOldMethods()
7762 const size_t old_size = LengthPrefixedArray<ArtMethod>::ComputeSize(old_methods->size(), in ClobberOldMethods()
7765 memset(old_methods, 0xFEu, old_size); in ClobberOldMethods()
7935 LengthPrefixedArray<ArtMethod>* old_methods = klass_->GetMethodsPtr(); in ReallocMethods() local
7948 const size_t old_methods_ptr_size = (old_methods != nullptr) ? old_size : 0; in ReallocMethods()
7951 self_, old_methods, old_methods_ptr_size, new_size)); in ReallocMethods()
7955 if (methods != old_methods) { in ReallocMethods()
8387 LengthPrefixedArray<ArtMethod>* old_methods = kIsDebugBuild ? klass->GetMethodsPtr() : nullptr; in LinkInterfaceMethods() local
8406 helper.ClobberOldMethods(old_methods, methods); in LinkInterfaceMethods()