Home
last modified time | relevance | path

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

/art/runtime/jit/
Djit_code_cache.cc194 void MoveObsoleteMethod(ArtMethod* old_method, ArtMethod* new_method) { in MoveObsoleteMethod() argument
195 std::replace(methods_.begin(), methods_.end(), old_method, new_method); in MoveObsoleteMethod()
849 void JitCodeCache::MoveObsoleteMethod(ArtMethod* old_method, ArtMethod* new_method) { in MoveObsoleteMethod() argument
851 if (old_method->IsNative()) { in MoveObsoleteMethod()
855 data.MoveObsoleteMethod(old_method, new_method); in MoveObsoleteMethod()
860 if (old_method->GetProfilingInfo(kRuntimePointerSize) != nullptr) { in MoveObsoleteMethod()
861 DCHECK_EQ(old_method->GetProfilingInfo(kRuntimePointerSize)->GetMethod(), old_method); in MoveObsoleteMethod()
862 ProfilingInfo* info = old_method->GetProfilingInfo(kRuntimePointerSize); in MoveObsoleteMethod()
863 old_method->SetProfilingInfo(nullptr); in MoveObsoleteMethod()
874 if (it.second == old_method) { in MoveObsoleteMethod()
[all …]
Djit_code_cache.h357 void MoveObsoleteMethod(ArtMethod* old_method, ArtMethod* new_method)
/art/runtime/jni/
Djni_id_manager.cc472 ArtMethod* old_method = *it; in VisitReflectiveTargets() local
475 rvv->VisitMethod(old_method, JniIdReflectiveSourceInfo(reinterpret_cast<jmethodID>(id))); in VisitReflectiveTargets()
476 if (old_method != new_method) { in VisitReflectiveTargets()
478 ObjPtr<mirror::Class> old_class(old_method->GetDeclaringClass()); in VisitReflectiveTargets()
485 size_t old_off = ArraySlice<ArtMethod>(old_class->GetMethodsPtr()).OffsetOf(old_method); in VisitReflectiveTargets()
/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()
866 jit->GetCodeCache()->MoveObsoleteMethod(it.old_method, it.obsolete_method); in FindAndAllocateObsoleteMethods()