Home
last modified time | relevance | path

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

/art/runtime/jit/
Djit_code_cache.cc198 void MoveObsoleteMethod(ArtMethod* old_method, ArtMethod* new_method) { in MoveObsoleteMethod() argument
199 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
890 if (old_method->IsNative()) { in MoveObsoleteMethod()
894 data.MoveObsoleteMethod(old_method, new_method); in MoveObsoleteMethod()
899 if (old_method->GetProfilingInfo(kRuntimePointerSize) != nullptr) { in MoveObsoleteMethod()
900 DCHECK_EQ(old_method->GetProfilingInfo(kRuntimePointerSize)->GetMethod(), old_method); in MoveObsoleteMethod()
901 ProfilingInfo* info = old_method->GetProfilingInfo(kRuntimePointerSize); in MoveObsoleteMethod()
902 old_method->SetProfilingInfo(nullptr); in MoveObsoleteMethod()
913 if (it.second == old_method) { in MoveObsoleteMethod()
[all …]
Djit_code_cache.h362 void MoveObsoleteMethod(ArtMethod* old_method, ArtMethod* new_method)
/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/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()