Home
last modified time | relevance | path

Searched refs:new_method (Results 1 – 12 of 12) sorted by relevance

/art/test/2009-structural-local-ref/
Dlocal-ref.cc39 jmethodID new_method = in Java_art_Test2009_NativeLocalCallStatic() local
44 return reinterpret_cast<jstring>(env->CallStaticObjectMethod(obj_klass, new_method)); in Java_art_Test2009_NativeLocalCallStatic()
53 jmethodID new_method = env->GetMethodID(obj_klass, "getGreeting", "()Ljava/lang/String;"); in Java_art_Test2009_NativeLocalCallVirtual() local
57 return reinterpret_cast<jstring>(env->CallObjectMethod(obj, new_method)); in Java_art_Test2009_NativeLocalCallVirtual()
/art/runtime/
Druntime_callbacks.cc324 /*out*/void** new_method) { in RegisterNativeMethod() argument
326 *new_method = cur_method; in RegisterNativeMethod()
328 cb->RegisterNativeMethod(method, cur_method, new_method); in RegisterNativeMethod()
329 if (*new_method != nullptr) { in RegisterNativeMethod()
330 cur_method = *new_method; in RegisterNativeMethod()
Dclass_linker.cc6270 static MethodTranslation CreateTranslatedMethod(ArtMethod* new_method) { in CreateTranslatedMethod() argument
6271 return MethodTranslation(Type::kTranslation, new_method); in CreateTranslatedMethod()
7927 ArtMethod& new_method = *out; in ReallocMethods() local
7928 new_method.CopyFrom(mir_method, pointer_size); in ReallocMethods()
7929 uint32_t access_flags = new_method.GetAccessFlags(); in ReallocMethods()
7933 new_method.SetAccessFlags(access_flags | kAccCopied); in ReallocMethods()
7934 move_table_.emplace(mir_method, &new_method); in ReallocMethods()
7939 miranda_methods_[i] = &new_method; in ReallocMethods()
7952 ArtMethod& new_method = *out; in ReallocMethods() local
7953 new_method.CopyFrom(def_method, pointer_size); in ReallocMethods()
[all …]
/art/openjdkjvmti/
Devents-inl.h517 void** new_method) const {
525 new_method);
526 *new_method = cur_method;
528 *new_method = cur_method;
534 new_method);
535 if (*new_method != nullptr) {
536 cur_method = *new_method;
539 *new_method = cur_method;
Dti_redefine.cc958 for (const art::ClassAccessor::Method& new_method : accessor.GetMethods()) { in CheckMethods() local
960 MethodNameAndSignature new_method_id(dex_file_.get(), new_method.GetIndex()); in CheckMethods()
967 if (!new_method.IsStaticOrDirect()) { in CheckMethods()
979 } else if (new_method.GetAccessFlags() != old_iter->GetAccessFlags()) { in CheckMethods()
2813 art::ArtMethod* new_method = in UpdateClassStructurally() local
2815 DCHECK(new_class->GetMethodsSlice(art::kRuntimePointerSize).Contains(new_method)) in UpdateClassStructurally()
2817 DCHECK(new_method->IsNative()); in UpdateClassStructurally()
2818 new_method->SetEntryPointFromJni(m.GetEntryPointFromJni()); in UpdateClassStructurally()
Dti_method.cc89 /*out*/void** new_method) in RegisterNativeMethod()
105 new_method); in RegisterNativeMethod()
/art/runtime/jni/
Djni_id_manager.cc475 ArtMethod* new_method = in VisitReflectiveTargets() local
477 if (old_method != new_method) { in VisitReflectiveTargets()
478 *it = new_method; in VisitReflectiveTargets()
480 ObjPtr<mirror::Class> new_class(new_method->GetDeclaringClass()); in VisitReflectiveTargets()
495 size_t new_off = ArraySlice<ArtMethod>(new_class->GetMethodsPtr()).OffsetOf(new_method); in VisitReflectiveTargets()
/art/compiler/optimizing/
Dinliner.cc1096 ArtMethod* new_method = nullptr; in TryInlinePolymorphicCallToSameTarget() local
1098 new_method = classes.GetReference(i)->AsClass()->GetImt(pointer_size)->Get( in TryInlinePolymorphicCallToSameTarget()
1100 if (new_method->IsRuntimeMethod()) { in TryInlinePolymorphicCallToSameTarget()
1107 new_method = in TryInlinePolymorphicCallToSameTarget()
1110 DCHECK(new_method != nullptr); in TryInlinePolymorphicCallToSameTarget()
1112 actual_method = new_method; in TryInlinePolymorphicCallToSameTarget()
1113 } else if (actual_method != new_method) { in TryInlinePolymorphicCallToSameTarget()
/art/runtime/jit/
Djit_code_cache.cc199 void MoveObsoleteMethod(ArtMethod* old_method, ArtMethod* new_method) { in MoveObsoleteMethod() argument
200 std::replace(methods_.begin(), methods_.end(), old_method, new_method); in MoveObsoleteMethod()
868 void JitCodeCache::MoveObsoleteMethod(ArtMethod* old_method, ArtMethod* new_method) { in MoveObsoleteMethod() argument
874 data.MoveObsoleteMethod(old_method, new_method); in MoveObsoleteMethod()
881 it.second = new_method; in MoveObsoleteMethod()
887 osr_code_map_.Put(new_method, code_map->second); in MoveObsoleteMethod()
Djit_code_cache.h357 void MoveObsoleteMethod(ArtMethod* old_method, ArtMethod* new_method)
/art/test/004-JniTest/
Djni_test.cc737 jmethodID new_method = env_->GetMethodID(concrete_class_, "<init>", "()V"); in TestCalls() local
738 jobject obj = env_->NewObject(concrete_class_, new_method); in TestCalls()
/art/runtime/mirror/
Dclass.cc1392 ArtMethod* new_method, in IsMethodPreferredOver() argument
1394 DCHECK(new_method != nullptr); in IsMethodPreferredOver()
1409 DCHECK(!orig_method->IsDirect() || new_method->IsDirect()); in IsMethodPreferredOver()
1412 if (orig_method->IsSynthetic() && !new_method->IsSynthetic()) { in IsMethodPreferredOver()