Home
last modified time | relevance | path

Searched refs:new_method (Results 1 – 14 of 14) 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.cc7972 ArtMethod& new_method = *out; in ReallocMethods() local
7973 new_method.CopyFrom(mir_method, pointer_size); in ReallocMethods()
7974 new_method.SetAccessFlags(new_method.GetAccessFlags() | kAccMiranda | kAccCopied); in ReallocMethods()
7975 DCHECK_NE(new_method.GetAccessFlags() & kAccAbstract, 0u) in ReallocMethods()
7977 move_table_.emplace(mir_method, &new_method); in ReallocMethods()
7982 miranda_methods_[i] = &new_method; in ReallocMethods()
7995 ArtMethod& new_method = *out; in ReallocMethods() local
7996 new_method.CopyFrom(def_method, pointer_size); in ReallocMethods()
8001 DCHECK_EQ(new_method.GetAccessFlags() & kAccNative, 0u); in ReallocMethods()
8004 new_method.SetAccessFlags((new_method.GetAccessFlags() | kSetFlags) & kMaskFlags); in ReallocMethods()
[all …]
Dclass_linker.h1163 static MethodTranslation CreateTranslatedMethod(ArtMethod* new_method) { in CreateTranslatedMethod() argument
1164 return MethodTranslation(Type::kTranslation, new_method); in CreateTranslatedMethod()
/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.cc961 for (const art::ClassAccessor::Method& new_method : accessor.GetMethods()) { in CheckMethods() local
963 MethodNameAndSignature new_method_id(dex_file_.get(), new_method.GetIndex()); in CheckMethods()
970 if (!new_method.IsStaticOrDirect()) { in CheckMethods()
982 } else if (new_method.GetAccessFlags() != old_iter->GetAccessFlags()) { in CheckMethods()
2809 art::ArtMethod* new_method = in UpdateClassStructurally() local
2811 DCHECK(new_class->GetMethodsSlice(art::kRuntimePointerSize).Contains(new_method)) in UpdateClassStructurally()
2813 DCHECK(new_method->IsNative()); in UpdateClassStructurally()
2814 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/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
894 data.MoveObsoleteMethod(old_method, new_method); in MoveObsoleteMethod()
906 new_method->SetProfilingInfo(info); in MoveObsoleteMethod()
909 info->method_ = new_method; in MoveObsoleteMethod()
914 it.second = new_method; in MoveObsoleteMethod()
920 osr_code_map_.Put(new_method, code_map->second); in MoveObsoleteMethod()
Djit.cc1131 ArtMethod* new_method = reinterpret_cast<ArtMethod*>( in MapBootImageMethods() local
1133 const void* code = new_method->GetEntryPointFromQuickCompiledCode(); in MapBootImageMethods()
1138 new_method->SetEntryPointFromQuickCompiledCode(GetQuickResolutionStub()); in MapBootImageMethods()
Djit_code_cache.h362 void MoveObsoleteMethod(ArtMethod* old_method, ArtMethod* new_method)
/art/compiler/optimizing/
Dinliner.cc1207 ArtMethod* new_method = nullptr; in TryInlinePolymorphicCallToSameTarget() local
1209 new_method = classes->Get(i)->GetImt(pointer_size)->Get( in TryInlinePolymorphicCallToSameTarget()
1211 if (new_method->IsRuntimeMethod()) { in TryInlinePolymorphicCallToSameTarget()
1218 new_method = classes->Get(i)->GetEmbeddedVTableEntry(method_index, pointer_size); in TryInlinePolymorphicCallToSameTarget()
1220 DCHECK(new_method != nullptr); in TryInlinePolymorphicCallToSameTarget()
1222 actual_method = new_method; in TryInlinePolymorphicCallToSameTarget()
1223 } else if (actual_method != new_method) { in TryInlinePolymorphicCallToSameTarget()
/art/runtime/mirror/
Dclass.cc1423 ArtMethod* new_method, in IsMethodPreferredOver() argument
1425 DCHECK(new_method != nullptr); in IsMethodPreferredOver()
1440 DCHECK(!orig_method->IsDirect() || new_method->IsDirect()); in IsMethodPreferredOver()
1443 if (orig_method->IsSynthetic() && !new_method->IsSynthetic()) { in IsMethodPreferredOver()
/art/test/004-JniTest/
Djni_test.cc708 jmethodID new_method = env_->GetMethodID(concrete_class_, "<init>", "()V"); in TestCalls() local
709 jobject obj = env_->NewObject(concrete_class_, new_method); in TestCalls()