Home
last modified time | relevance | path

Searched refs:method_info (Results 1 – 21 of 21) sorted by relevance

/art/test/988-method-trace/
Dgen_srcs.py242 method_info = parse_method_info(items)
243 return method_info
254 def format_receiver_name(method_info): argument
255 receiver = method_info.klass
256 if method_info.staticness == 'virtual':
257 receiver = "instance_" + method_info.klass.replace(".", "_")
261 def format_call_to(method_info): argument
262 dummy_args = ", ".join(method_info.dummy_parameters())
263 receiver = format_receiver_name(method_info)
265 return ("%s.%s(%s);" %(receiver, method_info.method_name, dummy_args))
[all …]
/art/compiler/debug/
Delf_debug_loc_writer.h89 const MethodDebugInfo* method_info, in GetVariableLocations() argument
101 const CodeInfo code_info(method_info->code_info); in GetVariableLocations()
116 DCHECK_LE(pc_offset, method_info->code_size); in GetVariableLocations()
117 DCHECK_LE(compilation_unit_code_address, method_info->code_address); in GetVariableLocations()
119 method_info->code_address + pc_offset - compilation_unit_code_address); in GetVariableLocations()
132 : method_info->code_address + method_info->code_size - compilation_unit_code_address; in GetVariableLocations()
152 CodeItemDataAccessor accessor(*method_info->dex_file, method_info->code_item); in GetVariableLocations()
178 static void WriteDebugLocEntry(const MethodDebugInfo* method_info, in WriteDebugLocEntry() argument
190 if (method_info->code_info == nullptr || dex_register_maps.empty()) { in WriteDebugLocEntry()
195 method_info, in WriteDebugLocEntry()
[all …]
Delf_debug_info_writer.h472 void WriteRegLocation(const MethodDebugInfo* method_info,
479 WriteDebugLocEntry(method_info,
/art/test/ti-stress/
Dstress.cc379 ScopedMethodInfo method_info(jvmtienv, env, m); in doJvmtiMethodBind() local
380 if (!method_info.Init()) { in doJvmtiMethodBind()
384 LOG(INFO) << "Loading native method \"" << method_info << "\". Thread is " in doJvmtiMethodBind()
460 ScopedMethodInfo method_info(jvmtienv, env, m); in FieldAccessHook() local
464 if (!method_info.Init() || !field_info.Init() || !obj_class_info.Init()) { in FieldAccessHook()
469 << "type \"" << obj_class_info.GetName() << "\" in method \"" << method_info in FieldAccessHook()
530 ScopedMethodInfo method_info(jvmtienv, env, m); in FieldModificationHook() local
534 if (!method_info.Init() || !field_info.Init() || !obj_class_info.Init()) { in FieldModificationHook()
539 << "type \"" << obj_class_info.GetName() << "\" in method \"" << method_info in FieldModificationHook()
552 ScopedMethodInfo method_info(jvmtienv, env, m); in MethodExitHook() local
[all …]
/art/compiler/
Dcompiled_method.cc108 const ArrayRef<const uint8_t>& method_info, in CompiledMethod() argument
116 method_info_(driver->GetCompiledMethodStorage()->DeduplicateMethodInfo(method_info)), in CompiledMethod()
129 const ArrayRef<const uint8_t>& method_info, in SwapAllocCompiledMethod() argument
142 method_info, in SwapAllocCompiledMethod()
Dcommon_compiler_test.cc65 ArrayRef<const uint8_t> method_info = compiled_method->GetMethodInfo(); in MakeExecutable() local
66 const uint32_t method_info_offset = method_info.empty() ? 0u in MakeExecutable()
67 : vmap_table_offset + method_info.size(); in MakeExecutable()
79 const size_t size = method_info.size() + vmap_table.size() + sizeof(method_header) + code_size; in MakeExecutable()
84 chunk->insert(chunk->begin(), method_info.begin(), method_info.end()); in MakeExecutable()
Dcompiled_method.h118 const ArrayRef<const uint8_t>& method_info,
132 const ArrayRef<const uint8_t>& method_info,
/art/runtime/
Dstack_map.cc122 const MethodInfo& method_info) const { in Dump()
143 method_info, in Dump()
194 const MethodInfo& method_info, in Dump() argument
228 inline_info.Dump(vios, code_info, method_info, nullptr); in Dump()
234 const MethodInfo& method_info, in Dump() argument
252 << ", method_index=" << GetMethodIndexAtDepth(inline_info_encoding, method_info, i); in Dump()
Dstack.cc99 MethodInfo method_info = method_header->GetOptimizedMethodInfo(); in GetMethod() local
102 method_info, in GetMethod()
/art/compiler/driver/
Dcompiled_method_storage.h57 const ArrayRef<const uint8_t>& method_info);
58 void ReleaseMethodInfo(const LengthPrefixedArray<uint8_t>* method_info);
Dcompiled_method_storage_test.cc54 ArrayRef<const uint8_t> method_info[] = { in TEST() local
86 for (auto&& s : method_info) { in TEST()
Dcompiled_method_storage.cc208 void CompiledMethodStorage::ReleaseMethodInfo(const LengthPrefixedArray<uint8_t>* method_info) { in ReleaseMethodInfo() argument
209 ReleaseArrayIfNotDeduplicated(method_info); in ReleaseMethodInfo()
/art/tools/veridex/
Dresolver.cc281 VeriMethod method_info = method_infos_[method_index]; in GetMethod() local
282 if (method_info == nullptr) { in GetMethod()
290 method_info = LookupMethodIn(*kls, in GetMethod()
293 method_infos_[method_index] = method_info; in GetMethod()
295 return method_info; in GetMethod()
/art/tools/breakpoint-logger/
Dbreakpoint_logger.cc269 ScopedMethodInfo method_info(jvmti_env, env, method); in BreakpointCB() local
270 if (!method_info.Init()) { in BreakpointCB()
275 << location << " in method " << method_info << " thread: " << info.GetName(); in BreakpointCB()
/art/runtime/entrypoints/
Dentrypoint_utils.cc205 MethodInfo method_info = current_code->GetOptimizedMethodInfo(); in DoGetCalleeSaveMethodCaller() local
212 method_info, in DoGetCalleeSaveMethodCaller()
Dentrypoint_utils-inl.h48 const MethodInfo& method_info, in GetResolvedMethod() argument
64 uint32_t method_index = inline_info.GetMethodIndexAtDepth(encoding, method_info, inlining_depth); in GetResolvedMethod()
78 method_index = inline_info.GetMethodIndexAtDepth(encoding, method_info, depth); in GetResolvedMethod()
/art/runtime/jit/
Djit_code_cache.h135 uint8_t* method_info,
283 uint8_t* method_info,
/art/compiler/optimizing/
Doptimizing_compiler.cc709 ArenaVector<uint8_t> method_info(allocator->Adapter(kArenaAllocStackMaps)); in Emit() local
714 method_info.resize(method_info_size); in Emit()
716 MemoryRegion(method_info.data(), method_info.size()), in Emit()
729 ArrayRef<const uint8_t>(method_info), in Emit()
Dstack_map_test.cc1008 MethodInfo method_info(method_info_region.begin()); in TEST() local
1021 EXPECT_EQ(invoke1.GetMethodIndex(encoding.invoke_info.encoding, method_info), 1u); in TEST()
1024 EXPECT_EQ(invoke2.GetMethodIndex(encoding.invoke_info.encoding, method_info), 3u); in TEST()
1027 EXPECT_EQ(invoke3.GetMethodIndex(encoding.invoke_info.encoding, method_info), 65535u); in TEST()
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc388 MethodInfo method_info = current_code->GetOptimizedMethodInfo(); in GetInvokeType() local
392 *dex_method_index = invoke.GetMethodIndex(encoding.invoke_info.encoding, method_info); in GetInvokeType()
1232 MethodInfo method_info = current_code->GetOptimizedMethodInfo(); in DumpB74410240DebugData() local
1262 method_info, in DumpB74410240DebugData()
/art/oatdump/
Doatdump.cc1546 MethodInfo method_info = oat_method.GetOatQuickMethodHeader()->GetOptimizedMethodInfo(); in DumpVmapData() local
1547 DumpCodeInfo(vios, code_info, oat_method, code_item_accessor, method_info); in DumpVmapData()
1564 const MethodInfo& method_info) { in DumpCodeInfo() argument
1570 method_info); in DumpCodeInfo()
1820 MethodInfo method_info(oat_method.GetOatQuickMethodHeader()->GetOptimizedMethodInfo()); in DumpCode() local
1910 method_info, in DumpCode()