/art/runtime/ |
H A D | profiler.cc | 59 // Walk through the method within depth of max_depth_ on the Java stack 97 mirror::ArtMethod* method = thread->GetCurrentMethod(nullptr); local 98 if (false && method == nullptr) { 99 LOG(INFO) << "No current method available"; 105 profiler->RecordMethod(method); 399 // This is empty right now, but to add a method, do this: 406 bool BackgroundMethodSamplingProfiler::ProcessMethod(mirror::ArtMethod* method) { argument 407 if (method == nullptr) { 409 // Don't record a nullptr method. 413 mirror::Class* cls = method 441 RecordMethod(mirror::ArtMethod* method) argument 454 mirror::ArtMethod* method = stack.front().first; local 488 Put(mirror::ArtMethod* method) argument 523 mirror::ArtMethod* method = inst_loc.first; local 552 MethodReference method = current->GetMethod(); local 583 mirror::ArtMethod *method = meth_iter.first; local 608 MethodReference method = method_iter.first; local 715 Hash(mirror::ArtMethod* method) argument 894 FindChild(MethodReference method, uint32_t dex_pc) argument [all...] |
H A D | quick_exception_handler.cc | 53 mirror::ArtMethod* method = GetMethod(); local 55 if (method == nullptr) { 62 // Report the method that did the down call as the handler. 66 // No next method? Check exception handler is set up for the unhandled exception handler 73 if (method->IsRuntimeMethod()) { 74 // Ignore callee save method. 75 DCHECK(method->IsCalleeSaveMethod()); 79 return HandleTryItems(hs.NewHandle(method)); 83 bool HandleTryItems(Handle<mirror::ArtMethod> method) 86 if (!method 181 mirror::ArtMethod* method = GetMethod(); local [all...] |
H A D | profiler.h | 47 // a particular context with the method on top of the stack being a leaf or an internal node of the 51 StackTrieNode(MethodReference method, uint32_t dex_pc, uint32_t method_size, argument 53 parent_(parent), method_(method), dex_pc_(dex_pc), 65 StackTrieNode* FindChild(MethodReference method, uint32_t dex_pc); 97 // counts the number of null methods (where we can't determine the method) and 98 // the number of methods in the boot path (where we have already compiled the method). 107 void Put(mirror::ArtMethod* method); 117 uint32_t Hash(mirror::ArtMethod* method); 121 uint32_t num_null_methods_; // Number of samples where can don't know the method. 124 typedef std::map<mirror::ArtMethod*, uint32_t> Map; // Map of method v [all...] |
H A D | trace.cc | 60 // u4 method ID | method action 65 // u4 method ID | method action 70 // u4 method ID | method action 79 kTraceMethodEnter = 0x00, // method entry 80 kTraceMethodExit = 0x01, // method exit 81 kTraceUnroll = 0x02, // method exited by exception unrolling 131 static uint32_t EncodeTraceMethodAndAction(mirror::ArtMethod* method, argument 499 mirror::ArtMethod* method = DecodeTraceMethodId(tmid); local 568 DexPcMoved(Thread* thread, mirror::Object* this_object, mirror::ArtMethod* method, uint32_t new_dex_pc) argument 589 MethodEntered(Thread* thread, mirror::Object* this_object, mirror::ArtMethod* method, uint32_t dex_pc) argument 598 MethodExited(Thread* thread, mirror::Object* this_object, mirror::ArtMethod* method, uint32_t dex_pc, const JValue& return_value) argument 609 MethodUnwind(Thread* thread, mirror::Object* this_object, mirror::ArtMethod* method, uint32_t dex_pc) argument 641 LogMethodTraceEvent(Thread* thread, mirror::ArtMethod* method, instrumentation::Instrumentation::InstrumentationEvent event, uint32_t thread_clock_diff, uint32_t wall_clock_diff) argument 695 mirror::ArtMethod* method = DecodeTraceMethodId(tmid); local [all...] |
/art/runtime/mirror/ |
H A D | class-inl.h | 150 inline void Class::SetEmbeddedImTableEntry(uint32_t i, ArtMethod* method) { argument 152 SetFieldObject<false>(MemberOffset(offset), method); local 186 inline void Class::SetEmbeddedVTableEntry(uint32_t i, ArtMethod* method) { argument 188 SetFieldObject<false>(MemberOffset(offset), method); local 189 CHECK(method == GetVTableDuringLinking()->Get(i)); 279 inline bool Class::ResolvedMethodAccessTest(Class* access_to, ArtMethod* method, argument 284 // The referrer class can't access the method's declaring class but may still be able 285 // to access the method if the MethodId specifies an accessible subclass of the declaring 289 // The referenced class has already been resolved with the method, get it from the dex cache. 295 method, throw_invoke_typ 321 CanAccessResolvedMethod(Class* access_to, ArtMethod* method, DexCache* dex_cache, uint32_t method_idx) argument 327 CheckResolvedMethodAccess(Class* access_to, ArtMethod* method, uint32_t method_idx) argument 346 FindVirtualMethodForInterface(ArtMethod* method) argument 361 FindVirtualMethodForVirtual(ArtMethod* method) argument 368 FindVirtualMethodForSuper(ArtMethod* method) argument 373 FindVirtualMethodForVirtualOrInterface(ArtMethod* method) argument [all...] |
H A D | throwable.cc | 83 // Decode the internal stack trace into the depth and method trace 91 mirror::ArtMethod* method = down_cast<ArtMethod*>(method_trace->Get(i)); local 93 int32_t line_number = method->GetLineNumFromDexPC(dex_pc); 94 const char* source_file = method->GetDeclaringClassSourceFile(); 95 result += StringPrintf(" at %s (%s:%d)\n", PrettyMethod(method, true).c_str(),
|
/art/compiler/driver/ |
H A D | compiler_driver_test.cc | 50 void EnsureCompiled(jobject class_loader, const char* class_name, const char* method, 61 mid_ = env_->GetMethodID(class_, method, signature); 63 mid_ = env_->GetStaticMethodID(class_, method, signature); 65 CHECK(mid_ != NULL) << "Method not found: " << class_name << "." << method << signature; 124 mirror::ArtMethod* method = dex_cache->GetResolvedMethod(i); local 125 EXPECT_TRUE(method != NULL) << "method_idx=" << i 128 EXPECT_TRUE(method->GetEntryPointFromQuickCompiledCode() != NULL) << "method_idx=" << i 133 EXPECT_TRUE(method->GetEntryPointFromPortableCompiledCode() != NULL) << "method_idx=" << i
|
/art/runtime/arch/mips/ |
H A D | jni_entrypoints_mips.S | 50 move $t9, $v0 # put method code result in $t9 51 jr $t9 # leaf call to method's code
|
/art/test/044-proxy/src/ |
H A D | NarrowingTest.java | 26 // Note that this method declaration narrows the return type. 37 public Object invoke(Object proxy, Method method, 39 System.out.println("Invocation of " + method);
|
H A D | Clash.java | 65 public Object invoke(Object proxy, Method method, Object[] args) argument
|
H A D | Clash2.java | 55 public Object invoke(Object proxy, Method method, Object[] args) argument
|
H A D | Clash3.java | 70 public Object invoke(Object proxy, Method method, Object[] args) argument
|
/art/runtime/quick/ |
H A D | inline_method_analyser.cc | 33 * only to allow the debugger to check whether a method has been inlined. 85 // we need to be able to detect possibly inlined method, we pass a null inline method to indicate 88 InlineMethod* method) { 90 DCHECK_EQ(Runtime::Current()->IsCompiler(), method != nullptr); 91 DCHECK_EQ(verifier->CanLoadClasses(), method != nullptr); 101 if (method != nullptr) { 102 method->opcode = kInlineOpNop; 103 method->flags = kInlineSpecial; 104 method 87 AnalyseMethodCode(verifier::MethodVerifier* verifier, InlineMethod* method) argument 334 mirror::ArtMethod* method = dex_cache->GetResolvedMethod(method_idx); local [all...] |
/art/compiler/ |
H A D | compiler.cc | 106 CompiledMethod* method = TryCompileWithSeaIR(code_item, variable 113 if (method != nullptr) { 114 return method; 133 uintptr_t GetEntryPointOf(mirror::ArtMethod* method) const { 134 return reinterpret_cast<uintptr_t>(method->GetEntryPointFromPortableCompiledCode());
|
H A D | oat_test.cc | 38 void CheckMethod(mirror::ArtMethod* method, 44 method->GetDexMethodIndex())); 47 EXPECT_TRUE(oat_method.GetQuickCode() == NULL) << PrettyMethod(method) << " " 49 EXPECT_TRUE(oat_method.GetPortableCode() == NULL) << PrettyMethod(method) << " " 66 << PrettyMethod(method) << " " << code_size; 70 EXPECT_TRUE(portable_oat_code != nullptr) << PrettyMethod(method); 80 << PrettyMethod(method) << " " << code_size;
|
H A D | common_compiler_test.h | 47 void MakeExecutable(mirror::ArtMethod* method) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); 64 void CompileMethod(mirror::ArtMethod* method) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
|
/art/dalvikvm/ |
H A D | dalvikvm.cc | 31 // Determine whether or not the specified method is public. 35 fprintf(stderr, "Failed to get reflected method\n"); 39 // getModifiers() method. 81 jmethodID method = env->GetStaticMethodID(klass.get(), "main", "([Ljava/lang/String;)V"); local 82 if (method == NULL) { 88 // Make sure the method is public. JNI doesn't prevent us from 89 // calling a private method, so we have to check it explicitly. 90 if (!IsMethodPublic(env, klass.get(), method)) { 97 env->CallStaticVoidMethod(klass.get(), method, args.get());
|
/art/runtime/interpreter/ |
H A D | interpreter_common.h | 96 // Invokes the given method. This is part of the invocation support and is used by DoInvoke and 100 bool DoCall(ArtMethod* method, Thread* self, ShadowFrame& shadow_frame, 112 ArtMethod* const method = FindMethodFromCode<type, do_access_check>( local 115 if (UNLIKELY(method == nullptr)) { 119 } else if (UNLIKELY(method->IsAbstract())) { 120 ThrowAbstractMethodError(method); 124 return DoCall<is_range, do_access_check>(method, self, shadow_frame, inst, inst_data, result); 137 // We lost the reference to the method index so we cannot get a more 144 ArtMethod* const method = receiver->GetClass()->GetEmbeddedVTableEntry(vtable_idx); local 145 if (UNLIKELY(method [all...] |
H A D | interpreter_common.cc | 394 mirror::ArtMethod* method = GetMethod(); local 395 if (method == nullptr) { 398 if (method->IsRuntimeMethod()) { 399 // Ignore callee save method. 400 DCHECK(method->IsCalleeSaveMethod()); 403 if (method->IsNative()) { 406 DCHECK(!method->IsNative()); 413 Handle<mirror::ArtMethod> h_method(hs.NewHandle(method)); 418 catch_method_.Assign(method); 524 bool DoCall(ArtMethod* method, Threa argument [all...] |
/art/compiler/llvm/ |
H A D | runtime_support_builder.h | 54 ::llvm::Value* method, uint32_t num_vregs); 56 ::llvm::Value* method, uint32_t num_vregs);
|
/art/runtime/arch/x86/ |
H A D | context_x86.cc | 40 mirror::ArtMethod* method = fr.GetMethod(); local 41 const QuickMethodFrameInfo frame_info = method->GetQuickFrameInfo();
|
/art/runtime/arch/arm/ |
H A D | portable_entrypoints_arm.S | 22 * r0 = method pointer 44 add r5, r2, #16 @ create space for method pointer in frame 47 add r0, sp, #4 @ pass stack pointer + method ptr as dest for memcpy 49 ldr r0, [r11] @ restore method* 54 str ip, [sp] @ store NULL for method* at bottom of frame 57 blx ip @ call the method 87 str r0, [sp, #0] @ place proxy method at bottom of frame 90 blx artPortableProxyInvokeHandler @ (Method* proxy method, receiver, Thread*, SP) 124 ldr r0, [sp, #0] @ load resolved method in r0 162 blx artPortableToInterpreterBridge @ (Method* method, Threa [all...] |
/art/runtime/entrypoints/portable/ |
H A D | portable_trampoline_entrypoints.cc | 45 // method argument passed by the caller. 186 extern "C" uint64_t artPortableToInterpreterBridge(mirror::ArtMethod* method, Thread* self, 193 if (method->IsAbstract()) { 194 ThrowAbstractMethodError(method); 199 MethodHelper mh(hs.NewHandle(method)); 200 const DexFile::CodeItem* code_item = method->GetCodeItem(); 204 method, 0, memory)); 215 if (method->IsStatic() && !method->GetDeclaringClass()->IsInitialized()) { 216 // Ensure static method' [all...] |
/art/compiler/dex/quick/ |
H A D | dex_file_method_inliner.h | 45 * function and cached by this class for quick lookup by the method index. 58 * Analyse method code to determine if the method is a candidate for inlining. 61 * @param verifier the method verifier holding data about the method to analyse. 62 * @return true if the method is a candidate for inlining, false otherwise. 68 * Check whether a particular method index corresponds to an intrinsic function. 78 * Check whether a particular method index corresponds to a special function. 128 * To avoid multiple lookups of a method name string, we cache its string 186 * To avoid multiple lookups of a method signatur [all...] |
/art/runtime/entrypoints/quick/ |
H A D | quick_trampoline_entrypoints.cc | 37 // Number of bytes for each out register in the caller method's frame. 204 // kRefAndArgs runtime method. Since 'this' is a reference, it is located in the 295 // (a) 'stack_args_' should point to the first method's argument 405 // hard float ABI. So, the offset pointing to the first method's 429 // Returns the 'this' object of a proxy method. This function is only used by StackVisitor. It 486 extern "C" uint64_t artQuickToInterpreterBridge(mirror::ArtMethod* method, Thread* self, 493 if (method->IsAbstract()) { 494 ThrowAbstractMethodError(method); 497 DCHECK(!method->IsNative()) << PrettyMethod(method); 1314 mirror::ArtMethod* method = (*m)->AsMirrorPtr(); local 1781 mirror::ArtMethod* method = FindMethodFast(method_idx, this_object, caller_method, access_check, local 1889 mirror::ArtMethod* method; local [all...] |