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.cc304 /*out*/void** new_method) { in RegisterNativeMethod() argument
306 *new_method = cur_method; in RegisterNativeMethod()
308 cb->RegisterNativeMethod(method, cur_method, new_method); in RegisterNativeMethod()
309 if (*new_method != nullptr) { in RegisterNativeMethod()
310 cur_method = *new_method; in RegisterNativeMethod()
Dclass_linker.cc7659 ArtMethod& new_method = methods->At(old_method_count + i, kMethodSize, kMethodAlignment); in ReallocMethods() local
7660 new_method.CopyFrom(interface_method, kPointerSize); in ReallocMethods()
7661 new_method.SetMethodIndex(dchecked_integral_cast<uint16_t>(record->GetMethodIndex())); in ReallocMethods()
7666 uint32_t access_flags = new_method.GetAccessFlags(); in ReallocMethods()
7669 new_method.SetAccessFlags(access_flags | kAccCopied); in ReallocMethods()
7679 DCHECK_EQ(new_method.GetAccessFlags() & kAccNative, 0u); in ReallocMethods()
7682 new_method.SetAccessFlags((new_method.GetAccessFlags() | kSetFlags) & kMaskFlags); in ReallocMethods()
7693 uint32_t access_flags = new_method.GetAccessFlags(); in ReallocMethods()
7697 new_method.SetAccessFlags((access_flags | kSetFlags) & kMaskFlags); in ReallocMethods()
7698 DCHECK(new_method.IsDefaultConflicting()); 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.cc956 for (const art::ClassAccessor::Method& new_method : accessor.GetMethods()) { in CheckMethods() local
958 MethodNameAndSignature new_method_id(dex_file_.get(), new_method.GetIndex()); in CheckMethods()
965 if (!new_method.IsStaticOrDirect()) { in CheckMethods()
977 } else if (new_method.GetAccessFlags() != old_iter->GetAccessFlags()) { in CheckMethods()
2775 art::ArtMethod* new_method = in UpdateClassStructurally() local
2777 DCHECK(new_class->GetMethodsSlice(art::kRuntimePointerSize).Contains(new_method)) in UpdateClassStructurally()
2779 DCHECK(new_method->IsNative()); in UpdateClassStructurally()
2780 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.cc1132 ArtMethod* new_method = nullptr; in TryInlinePolymorphicCallToSameTarget() local
1134 new_method = classes.GetReference(i)->AsClass()->GetImt(pointer_size)->Get( in TryInlinePolymorphicCallToSameTarget()
1136 if (new_method->IsRuntimeMethod()) { in TryInlinePolymorphicCallToSameTarget()
1143 new_method = in TryInlinePolymorphicCallToSameTarget()
1146 DCHECK(new_method != nullptr); in TryInlinePolymorphicCallToSameTarget()
1148 actual_method = new_method; in TryInlinePolymorphicCallToSameTarget()
1149 } else if (actual_method != new_method) { in TryInlinePolymorphicCallToSameTarget()
/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
872 data.MoveObsoleteMethod(old_method, new_method); in MoveObsoleteMethod()
879 it.second = new_method; in MoveObsoleteMethod()
885 osr_code_map_.Put(new_method, code_map->second); in MoveObsoleteMethod()
Djit_code_cache.h358 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.cc1768 ArtMethod* new_method, in IsMethodPreferredOver() argument
1770 DCHECK(new_method != nullptr); in IsMethodPreferredOver()
1785 DCHECK_IMPLIES(orig_method->IsDirect(), new_method->IsDirect()); in IsMethodPreferredOver()
1788 if (orig_method->IsSynthetic() && !new_method->IsSynthetic()) { in IsMethodPreferredOver()