/art/test/064-field-access/src/ |
H A D | Main.java | 686 public Object invoke(Method method, Object obj, Class expectedException) { argument 689 result = method.invoke(obj); 692 System.err.println("ERROR: call succeeded for method " + method + "', was expecting " +
|
/art/runtime/ |
H A D | monitor.cc | 278 LOG(WARNING) << "Long monitor contention event with owner method=" 1011 // Is there any reason to believe there's any synchronization in this method? 1087 void Monitor::TranslateLocation(mirror::ArtMethod* method, uint32_t dex_pc, argument 1089 // If method is null, location is unknown 1090 if (method == NULL) { 1095 *source_file = method->GetDeclaringClassSourceFile(); 1099 *line_number = method->GetLineNumFromDexPC(dex_pc);
|
H A D | monitor.h | 185 // Translates the provided method and pc into its declaring class' source file and line number. 186 void TranslateLocation(mirror::ArtMethod* method, uint32_t pc,
|
H A D | oat_file.h | 94 void LinkMethod(mirror::ArtMethod* method) const SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
|
H A D | thread.cc | 176 // Invoke the 'run' method of our java.lang.Thread. 914 os << "(Native method)"; 984 // In some other native method? That's interesting. 1419 // Note we also skip the frame if it doesn't have a method (namely the callee 1459 // Allocate method trace with an extra slot that will hold the PC trace 1471 // Save PC trace in last element of method trace, also places it into the 1557 // Decode the internal stack trace into the depth, method trace and PC trace 1588 // Prepare parameters for StackTraceElement(String cls, String method, String file, int line) 1589 mirror::ArtMethod* method = down_cast<mirror::ArtMethod*>(method_trace->Get(i)); local 1594 if (method [all...] |
H A D | jni_internal.cc | 112 "no %s method \"%s.%s%s\"", 119 LOG(return_errors ? ERROR : FATAL) << "Failed to register native method in " 147 mirror::ArtMethod* method = nullptr; local 149 method = c->FindDirectMethod(name, sig); 151 method = c->FindInterfaceMethod(name, sig); 153 method = c->FindVirtualMethod(name, sig); 154 if (method == nullptr) { 155 // No virtual method matching the signature. Search declared 157 method = c->FindDeclaredDirectMethod(name, sig); 160 if (method 169 mirror::ArtMethod* method = soa.Self()->GetCurrentMethod(nullptr); local [all...] |
H A D | check_jni.cc | 125 static bool ShouldTrace(JavaVMExt* vm, mirror::ArtMethod* method) 128 // when a native method that matches the -Xjnitrace argument calls a JNI function 131 // made by a third-party native method. 132 std::string class_name(method->GetDeclaringClassDescriptor()); 137 // Return true if we're trying to log all third-party JNI activity and 'method' doesn't look 278 * Verify that the method's return type matches the type of call. 293 JniAbortF(function_name_, "calling non-static method %s with %s", 296 JniAbortF(function_name_, "calling static method %s with %s", 327 * Instances of "java_class" must be instances of the method's declaring class. 345 * Make sure the object is an instance of the method' 1147 FromReflectedMethod(JNIEnv* env, jobject method) argument [all...] |
H A D | dex_file.h | 175 uint16_t proto_idx_; // index into proto_ids_ array for method prototype 176 uint32_t name_idx_; // index into string_ids_ array for method name 581 // Returns the number of method identifiers in the .dex file. 599 // Looks up a method by its declaring class, name and proto_id 604 // Returns the declaring class descriptor string of a method id. 610 // Returns the prototype of a method id. 615 // Returns a representation of the signature of a method id. 618 // Returns the name of a method id. 623 // Returns the shorty of a method id. 682 return NULL; // native or abstract method [all...] |
/art/runtime/jdwp/ |
H A D | jdwp.h | 55 typedef uint32_t MethodId; /* any kind of method, including constructors */ 74 mirror::ArtMethod* method; member in struct:art::JDWP::EventLocation 195 * single-stepping, and method entry/exit. (JDWP requires that these four 198 * In some cases "*pLoc" will just have a method and class name, e.g. when 199 * issuing a MethodEntry on a native method.
|
/art/compiler/driver/ |
H A D | compiler_driver.h | 65 // ABI of invocations to a method's interpreter entry point. 67 // ABI of calls to a method's native code, only used for native methods. 69 // ABI of calls to a method's portable code entry point. 71 // ABI of calls to a method's quick code entry point. 123 void CompileOne(mirror::ArtMethod* method, TimingLogger* timings) 230 // Resolve compiling method's class. Returns nullptr on failure. 237 // NOTE: Unlike ClassLinker's ResolveField(), this method enforces is_static. 267 // Resolve a method. Returns nullptr on failure, including incompatible class change. 295 // Does invokation of the resolved method need class initialization? 322 // Can we fastpath a interface, super class or virtual method cal [all...] |
/art/runtime/verifier/ |
H A D | method_verifier.cc | 173 mirror::ArtMethod* method = local 176 if (method == nullptr) { 178 // We couldn't resolve the method, but continue regardless. 187 method, 199 *error += " due to bad method "; 217 mirror::ArtMethod* method = local 220 if (method == nullptr) { 222 // We couldn't resolve the method, but continue regardless. 231 method, 243 *error += " due to bad method "; 257 VerifyMethod(uint32_t method_idx, const DexFile* dex_file, Handle<mirror::DexCache> dex_cache, Handle<mirror::ClassLoader> class_loader, const DexFile::ClassDef* class_def, const DexFile::CodeItem* code_item, mirror::ArtMethod* method, uint32_t method_access_flags, bool allow_soft_failures, bool need_precise_constants) argument 306 VerifyMethodAndDump(std::ostream& os, uint32_t dex_method_idx, const DexFile* dex_file, Handle<mirror::DexCache> dex_cache, Handle<mirror::ClassLoader> class_loader, const DexFile::ClassDef* class_def, const DexFile::CodeItem* code_item, mirror::ArtMethod* method, uint32_t method_access_flags) argument 325 MethodVerifier(const DexFile* dex_file, Handle<mirror::DexCache>* dex_cache, Handle<mirror::ClassLoader>* class_loader, const DexFile::ClassDef* class_def, const DexFile::CodeItem* code_item, uint32_t dex_method_idx, mirror::ArtMethod* method, uint32_t method_access_flags, bool can_load_classes, bool allow_soft_failures, bool need_precise_constants, bool verify_to_dump) argument [all...] |
/art/compiler/jni/ |
H A D | jni_compiler_test.cc | 66 // Compile the native method before starting the runtime 68 mirror::ArtMethod* method; local 70 method = c->FindDirectMethod(method_name, method_sig); 72 method = c->FindVirtualMethod(method_name, method_sig); 74 ASSERT_TRUE(method != nullptr) << method_name << " " << method_sig; 76 method->SetEntryPointFromQuickCompiledCode(class_linker_->GetQuickGenericJniTrampoline()); 78 if (method->GetEntryPointFromQuickCompiledCode() == nullptr || 79 method->GetEntryPointFromQuickCompiledCode() == class_linker_->GetQuickGenericJniTrampoline()) { 80 CompileMethod(method); 81 ASSERT_TRUE(method [all...] |
/art/compiler/dex/quick/x86/ |
H A D | utility_x86.cc | 578 // Address the start of the method 914 // Did we need a pointer to the method code? 977 // Packed switches and array fills need a pointer to the base of the method. 1064 InlineMethod method; local 1065 if (method_inliner->IsIntrinsic(index, &method)) { 1066 switch (method.opcode) {
|
/art/compiler/ |
H A D | oat_writer.cc | 242 // The offset is usually advanced for each visited method by the derived class. 375 // Update quick method header. 429 // Set the 'initial_location' field to address the start of the method. 456 // We expect GC maps except when the class hasn't been verified or the method is native. 557 mirror::ArtMethod* method = linker->ResolveMethod(*dex_file_, it.GetMemberIndex(), dex_cache, local 561 CHECK(method != NULL) << PrettyMethod(it.GetMemberIndex(), *dex_file_, true); 563 method->SetQuickOatCodeOffset(offsets.code_offset_); 582 if (compiled_method != NULL) { // ie. not an abstract method 618 ReportWriteFailure("method header", it); 625 ReportWriteFailure("method cod [all...] |
/art/compiler/dex/quick/ |
H A D | codegen_util.cc | 197 LOG(INFO) << "-------- method entry " 392 /* Search the existing constants in the literal pool for an exact method match */ 393 LIR* Mir2Lir::ScanLiteralPoolMethod(LIR* data_target, const MethodReference& method) { argument 395 if (static_cast<uint32_t>(data_target->operands[0]) == method.dex_method_index && 396 UnwrapPointer(data_target->operands[1]) == method.dex_file) { 461 // Push code and method literals, record offsets for the compiler to patch. 777 // Maybe not necessary, but this could help prevent errors where we access the verified method 1232 // the same method invoked with kVirtual, kSuper and kInterface but the class linker will 1233 // resolve these invokes to the same method, so we don't care which one we record here. 1249 // the same method invoke [all...] |
H A D | mir_to_lir.h | 495 // method. 687 LIR* ScanLiteralPoolMethod(LIR* data_target, const MethodReference& method); 1095 * @brief Load the address of the dex method into the register. 1096 * @param target_method The MethodReference of the method to be invoked. 1097 * @param type How the method will be invoked. 1105 * @brief Load the Method* of a dex method into the register. 1106 * @param target_method The MethodReference of the method to be invoked. 1107 * @param type How the method will be invoked. 1116 * @param type How the method will be invoked. 1553 * @param mir The first MIR of the special method [all...] |