/art/test/2009-structural-local-ref/ |
D | local-ref.cc | 39 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/ |
D | runtime_callbacks.cc | 344 /*out*/void** new_method) { in RegisterNativeMethod() argument 346 *new_method = cur_method; in RegisterNativeMethod() 348 cb->RegisterNativeMethod(method, cur_method, new_method); in RegisterNativeMethod() 349 if (*new_method != nullptr) { in RegisterNativeMethod() 350 cur_method = *new_method; in RegisterNativeMethod()
|
D | runtime_image.cc | 846 ArtMethod* new_method = nullptr; in RelocateImTable() local 850 new_method = Runtime::Current()->GetImtConflictMethod(); in RelocateImTable() 851 DCHECK(IsInBootImage(new_method)); in RelocateImTable() 853 new_method = visitor(method); in RelocateImTable() 855 if (method != new_method) { in RelocateImTable() 856 im_table->Set(i, new_method, kRuntimePointerSize); in RelocateImTable()
|
D | class_linker.cc | 8159 ArtMethod& new_method = methods->At(old_method_count + i, kMethodSize, kMethodAlignment); in ReallocMethods() local 8160 new_method.CopyFrom(interface_method, kPointerSize); in ReallocMethods() 8161 new_method.SetMethodIndex(dchecked_integral_cast<uint16_t>(record->GetMethodIndex())); in ReallocMethods() 8166 uint32_t access_flags = new_method.GetAccessFlags(); in ReallocMethods() 8169 new_method.SetAccessFlags(access_flags | kAccCopied); in ReallocMethods() 8179 DCHECK_EQ(new_method.GetAccessFlags() & kAccNative, 0u); in ReallocMethods() 8182 new_method.SetAccessFlags((new_method.GetAccessFlags() | kSetFlags) & kMaskFlags); in ReallocMethods() 8193 uint32_t access_flags = new_method.GetAccessFlags(); in ReallocMethods() 8197 new_method.SetAccessFlags((access_flags | kSetFlags) & kMaskFlags); in ReallocMethods() 8198 new_method.SetDataPtrSize(nullptr, kPointerSize); in ReallocMethods() [all …]
|
/art/openjdkjvmti/ |
D | events-inl.h | 518 void** new_method) const { 526 new_method); 527 *new_method = cur_method; 529 *new_method = cur_method; 535 new_method); 536 if (*new_method != nullptr) { 537 cur_method = *new_method; 540 *new_method = cur_method;
|
D | ti_redefine.cc | 962 for (const art::ClassAccessor::Method& new_method : accessor.GetMethods()) { in CheckMethods() local 964 MethodNameAndSignature new_method_id(dex_file_.get(), new_method.GetIndex()); in CheckMethods() 971 if (!new_method.IsStaticOrDirect()) { in CheckMethods() 983 } else if (new_method.GetAccessFlags() != old_iter->GetAccessFlags()) { in CheckMethods() 2804 art::ArtMethod* new_method = in UpdateClassStructurally() local 2806 DCHECK(new_class->GetMethodsSlice(art::kRuntimePointerSize).Contains(new_method)) in UpdateClassStructurally() 2808 DCHECK(new_method->IsNative()); in UpdateClassStructurally() 2809 new_method->SetEntryPointFromJni(m.GetEntryPointFromJni()); in UpdateClassStructurally()
|
D | ti_method.cc | 89 /*out*/void** new_method) in RegisterNativeMethod() 105 new_method); in RegisterNativeMethod()
|
/art/runtime/jni/ |
D | jni_id_manager.cc | 503 ArtMethod* new_method = in VisitReflectiveTargets() local 505 if (old_method != new_method) { in VisitReflectiveTargets() 506 *it = new_method; in VisitReflectiveTargets() 508 ObjPtr<mirror::Class> new_class(new_method->GetDeclaringClass()); in VisitReflectiveTargets() 523 size_t new_off = ArraySlice<ArtMethod>(new_class->GetMethodsPtr()).OffsetOf(new_method); in VisitReflectiveTargets()
|
/art/compiler/optimizing/ |
D | inliner.cc | 1225 ArtMethod* new_method = nullptr; in TryInlinePolymorphicCallToSameTarget() local 1227 new_method = classes.GetReference(i)->AsClass()->GetImt(pointer_size)->Get( in TryInlinePolymorphicCallToSameTarget() 1229 if (new_method->IsRuntimeMethod()) { in TryInlinePolymorphicCallToSameTarget() 1236 new_method = in TryInlinePolymorphicCallToSameTarget() 1239 DCHECK(new_method != nullptr); in TryInlinePolymorphicCallToSameTarget() 1241 actual_method = new_method; in TryInlinePolymorphicCallToSameTarget() 1242 } else if (actual_method != new_method) { in TryInlinePolymorphicCallToSameTarget()
|
/art/runtime/jit/ |
D | jit_code_cache.cc | 188 void MoveObsoleteMethod(ArtMethod* old_method, ArtMethod* new_method) { in MoveObsoleteMethod() argument 189 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 896 data.MoveObsoleteMethod(old_method, new_method); in MoveObsoleteMethod() 903 it.second = new_method; in MoveObsoleteMethod() 909 osr_code_map_.Put(new_method, code_map->second); in MoveObsoleteMethod()
|
D | jit_code_cache.h | 371 EXPORT void MoveObsoleteMethod(ArtMethod* old_method, ArtMethod* new_method)
|
/art/test/004-JniTest/ |
D | jni_test.cc | 737 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/ |
D | class.cc | 1838 ArtMethod* new_method, in IsMethodPreferredOver() argument 1840 DCHECK(new_method != nullptr); in IsMethodPreferredOver() 1855 DCHECK_IMPLIES(orig_method->IsDirect(), new_method->IsDirect()); in IsMethodPreferredOver() 1858 if (orig_method->IsSynthetic() && !new_method->IsSynthetic()) { in IsMethodPreferredOver()
|