Searched refs:old_methods (Results 1 – 4 of 4) sorted by relevance
/art/runtime/mirror/ |
D | class_ext.cc | 67 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/ |
D | jni_id_manager.cc | 487 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/ |
D | ti_redefine.cc | 957 const auto old_methods = old_accessor.GetMethods(); in CheckMethods() local 962 std::find_if(old_methods.cbegin(), old_methods.cend(), [&](const auto& current_old_method) { in CheckMethods() 970 if (old_iter == old_methods.cend()) { in CheckMethods() 986 size_t off = std::distance(old_methods.cbegin(), old_iter); in CheckMethods() 999 auto fail = old_methods.cbegin(); in CheckMethods() 3090 art::ObjPtr<art::mirror::PointerArray> old_methods = cur_data->GetOldObsoleteMethods(); in RestoreObsoleteMethodMapsIfUnneeded() local 3091 int32_t old_length = old_methods == nullptr ? 0 : old_methods->GetLength(); in RestoreObsoleteMethodMapsIfUnneeded() 3102 expected = old_methods->GetElementPtrSize<art::ArtMethod*>(i, art::kRuntimePointerSize); in RestoreObsoleteMethodMapsIfUnneeded()
|
/art/runtime/ |
D | class_linker.cc | 7705 void ClobberOldMethods(LengthPrefixedArray<ArtMethod>* old_methods, in ClobberOldMethods() argument 7710 if (methods != old_methods && old_methods != nullptr) { in ClobberOldMethods() 7717 const size_t old_size = LengthPrefixedArray<ArtMethod>::ComputeSize(old_methods->size(), in ClobberOldMethods() 7720 memset(old_methods, 0xFEu, old_size); in ClobberOldMethods() 7890 LengthPrefixedArray<ArtMethod>* old_methods = klass_->GetMethodsPtr(); in ReallocMethods() local 7903 const size_t old_methods_ptr_size = (old_methods != nullptr) ? old_size : 0; in ReallocMethods() 7906 self_, old_methods, old_methods_ptr_size, new_size)); in ReallocMethods() 7910 if (methods != old_methods) { in ReallocMethods() 8347 LengthPrefixedArray<ArtMethod>* old_methods = kIsDebugBuild ? klass->GetMethodsPtr() : nullptr; in LinkInterfaceMethods() local 8366 helper.ClobberOldMethods(old_methods, methods); in LinkInterfaceMethods()
|