Home
last modified time | relevance | path

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

/art/runtime/jni/
Djni_id_manager.cc473 ArtMethod* old_method = *it; in VisitReflectiveTargets() local
476 rvv->VisitMethod(old_method, JniIdReflectiveSourceInfo(reinterpret_cast<jmethodID>(id))); in VisitReflectiveTargets()
477 if (old_method != new_method) { in VisitReflectiveTargets()
479 ObjPtr<mirror::Class> old_class(old_method->GetDeclaringClass()); in VisitReflectiveTargets()
486 size_t old_off = ArraySlice<ArtMethod>(old_class->GetMethodsPtr()).OffsetOf(old_method); in VisitReflectiveTargets()
/art/runtime/jit/
Djit_code_cache.cc200 void MoveObsoleteMethod(ArtMethod* old_method, ArtMethod* new_method) { in MoveObsoleteMethod() argument
201 std::replace(methods_.begin(), methods_.end(), old_method, new_method); in MoveObsoleteMethod()
866 void JitCodeCache::MoveObsoleteMethod(ArtMethod* old_method, ArtMethod* new_method) { in MoveObsoleteMethod() argument
868 if (old_method->IsNative()) { in MoveObsoleteMethod()
872 data.MoveObsoleteMethod(old_method, new_method); in MoveObsoleteMethod()
878 if (it.second == old_method) { in MoveObsoleteMethod()
883 auto code_map = osr_code_map_.find(old_method); in MoveObsoleteMethod()
886 osr_code_map_.erase(old_method); in MoveObsoleteMethod()
Djit_code_cache.h358 void MoveObsoleteMethod(ArtMethod* old_method, ArtMethod* new_method)
/art/openjdkjvmti/
Dti_redefine.cc194 art::ArtMethod* old_method; member
299 art::ArtMethod* old_method = GetMethod(); in VisitFrame() local
300 if (obsoleted_methods_.find(old_method) != obsoleted_methods_.end()) { in VisitFrame()
304 << old_method->PrettyMethod() << " is inlined into " in VisitFrame()
306 art::ArtMethod* new_obsolete_method = obsolete_maps_->FindObsoleteVersion(old_method); in VisitFrame()
315 << old_method->PrettyMethod() << "'"; in VisitFrame()
317 new_obsolete_method->CopyFrom(old_method, ptr_size); in VisitFrame()
318 DCHECK_EQ(new_obsolete_method->GetDeclaringClass(), old_method->GetDeclaringClass()); in VisitFrame()
322 obsolete_maps_->RecordObsolete(old_method, new_obsolete_method); in VisitFrame()
861 jit->GetCodeCache()->MoveObsoleteMethod(it.old_method, it.obsolete_method); in FindAndAllocateObsoleteMethods()