Home
last modified time | relevance | path

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

/art/runtime/jni/
Djni_id_manager.cc501 ArtMethod* old_method = *it; in VisitReflectiveTargets() local
504 rvv->VisitMethod(old_method, JniIdReflectiveSourceInfo(reinterpret_cast<jmethodID>(id))); in VisitReflectiveTargets()
505 if (old_method != new_method) { in VisitReflectiveTargets()
507 ObjPtr<mirror::Class> old_class(old_method->GetDeclaringClass()); in VisitReflectiveTargets()
514 size_t old_off = ArraySlice<ArtMethod>(old_class->GetMethodsPtr()).OffsetOf(old_method); in VisitReflectiveTargets()
/art/runtime/jit/
Djit_code_cache.cc188 void MoveObsoleteMethod(ArtMethod* old_method, ArtMethod* new_method) { in MoveObsoleteMethod() argument
189 std::replace(methods_.begin(), methods_.end(), old_method, new_method); in MoveObsoleteMethod()
888 void JitCodeCache::MoveObsoleteMethod(ArtMethod* old_method, ArtMethod* new_method) { in MoveObsoleteMethod() argument
892 if (old_method->IsNative()) { in MoveObsoleteMethod()
896 data.MoveObsoleteMethod(old_method, new_method); in MoveObsoleteMethod()
902 if (it.second == old_method) { in MoveObsoleteMethod()
907 auto code_map = osr_code_map_.find(old_method); in MoveObsoleteMethod()
910 osr_code_map_.erase(old_method); in MoveObsoleteMethod()
Djit_code_cache.h371 EXPORT void MoveObsoleteMethod(ArtMethod* old_method, ArtMethod* new_method)
/art/openjdkjvmti/
Dti_redefine.cc194 art::ArtMethod* old_method; member
298 art::ArtMethod* old_method = GetMethod(); in VisitFrame() local
299 if (obsoleted_methods_.find(old_method) != obsoleted_methods_.end()) { in VisitFrame()
303 << old_method->PrettyMethod() << " is inlined into " in VisitFrame()
305 art::ArtMethod* new_obsolete_method = obsolete_maps_->FindObsoleteVersion(old_method); in VisitFrame()
316 << old_method->PrettyMethod() << "'"; in VisitFrame()
318 new_obsolete_method->CopyFrom(old_method, ptr_size); in VisitFrame()
319 DCHECK_EQ(new_obsolete_method->GetDeclaringClass(), old_method->GetDeclaringClass()); in VisitFrame()
323 obsolete_maps_->RecordObsolete(old_method, new_obsolete_method); in VisitFrame()
863 jit->GetCodeCache()->MoveObsoleteMethod(it.old_method, it.obsolete_method); in FindAndAllocateObsoleteMethods()