Home
last modified time | relevance | path

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

/art/runtime/
Druntime_callbacks.cc258 /*out*/void** new_method) { in RegisterNativeMethod() argument
260 *new_method = cur_method; in RegisterNativeMethod()
262 cb->RegisterNativeMethod(method, cur_method, new_method); in RegisterNativeMethod()
263 if (*new_method != nullptr) { in RegisterNativeMethod()
264 cur_method = *new_method; in RegisterNativeMethod()
Dclass_linker.cc7048 ArtMethod& new_method = *out; in ReallocMethods() local
7049 new_method.CopyFrom(mir_method, pointer_size); in ReallocMethods()
7050 new_method.SetAccessFlags(new_method.GetAccessFlags() | kAccMiranda | kAccCopied); in ReallocMethods()
7051 DCHECK_NE(new_method.GetAccessFlags() & kAccAbstract, 0u) in ReallocMethods()
7053 move_table_.emplace(mir_method, &new_method); in ReallocMethods()
7058 miranda_methods_[i] = &new_method; in ReallocMethods()
7071 ArtMethod& new_method = *out; in ReallocMethods() local
7072 new_method.CopyFrom(def_method, pointer_size); in ReallocMethods()
7077 DCHECK_EQ(new_method.GetAccessFlags() & kAccNative, 0u); in ReallocMethods()
7080 new_method.SetAccessFlags((new_method.GetAccessFlags() | kSetFlags) & kMaskFlags); in ReallocMethods()
[all …]
Dclass_linker.h1057 static MethodTranslation CreateTranslatedMethod(ArtMethod* new_method) { in CreateTranslatedMethod() argument
1058 return MethodTranslation(Type::kTranslation, new_method); in CreateTranslatedMethod()
/art/openjdkjvmti/
Devents-inl.h429 void** new_method) const {
437 new_method);
438 *new_method = cur_method;
440 *new_method = cur_method;
446 new_method);
447 if (*new_method != nullptr) {
448 cur_method = *new_method;
451 *new_method = cur_method;
Dti_method.cc68 /*out*/void** new_method) in RegisterNativeMethod()
83 new_method); in RegisterNativeMethod()
/art/runtime/jit/
Djit_code_cache.cc151 void MoveObsoleteMethod(ArtMethod* old_method, ArtMethod* new_method) { in MoveObsoleteMethod() argument
152 std::replace(methods_.begin(), methods_.end(), old_method, new_method); in MoveObsoleteMethod()
972 void JitCodeCache::MoveObsoleteMethod(ArtMethod* old_method, ArtMethod* new_method) { in MoveObsoleteMethod() argument
978 data.MoveObsoleteMethod(old_method, new_method); in MoveObsoleteMethod()
990 new_method->SetProfilingInfo(info); in MoveObsoleteMethod()
991 info->method_ = new_method; in MoveObsoleteMethod()
996 it.second = new_method; in MoveObsoleteMethod()
1002 osr_code_map_.Put(new_method, code_map->second); in MoveObsoleteMethod()
Djit_code_cache.h259 void MoveObsoleteMethod(ArtMethod* old_method, ArtMethod* new_method)
/art/compiler/optimizing/
Dinliner.cc1170 ArtMethod* new_method = nullptr; in TryInlinePolymorphicCallToSameTarget() local
1172 new_method = classes->Get(i)->GetImt(pointer_size)->Get( in TryInlinePolymorphicCallToSameTarget()
1174 if (new_method->IsRuntimeMethod()) { in TryInlinePolymorphicCallToSameTarget()
1181 new_method = classes->Get(i)->GetEmbeddedVTableEntry(method_index, pointer_size); in TryInlinePolymorphicCallToSameTarget()
1183 DCHECK(new_method != nullptr); in TryInlinePolymorphicCallToSameTarget()
1185 actual_method = new_method; in TryInlinePolymorphicCallToSameTarget()
1186 } else if (actual_method != new_method) { in TryInlinePolymorphicCallToSameTarget()
/art/runtime/mirror/
Dclass-inl.h1132 ArtMethod* new_method = visitor(method, dest_addr); in FixupNativePointers() local
1133 if (method != new_method) { in FixupNativePointers()
1134 dest->SetEmbeddedVTableEntryUnchecked(i, new_method, pointer_size); in FixupNativePointers()
/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()