Home
last modified time | relevance | path

Searched refs:info (Results 1 – 25 of 221) sorted by relevance

123456789

/art/tools/jvmti-agents/list-extensions/
Dlist-extensions.cc106 const jvmtiExtensionFunctionInfo& info = infos[i]; in SetupJvmtiEnv() local
107 LOG(INFO) << info.id; in SetupJvmtiEnv()
108 LOG(INFO) << "\tdesc: " << info.short_description; in SetupJvmtiEnv()
109 LOG(INFO) << "\targuments: (count: " << info.param_count << ")"; in SetupJvmtiEnv()
110 for (jint j = 0; j < info.param_count; j++) { in SetupJvmtiEnv()
111 const jvmtiParamInfo& param = info.params[j]; in SetupJvmtiEnv()
114 LOG(INFO) << "\tErrors: (count: " << info.error_count << ")"; in SetupJvmtiEnv()
115 for (jint j = 0; j < info.error_count; j++) { in SetupJvmtiEnv()
117 CHECK_EQ(JVMTI_ERROR_NONE, env->GetErrorName(info.errors[j], &name)); in SetupJvmtiEnv()
121 DeallocParams(env, info.params, info.param_count); in SetupJvmtiEnv()
[all …]
/art/compiler/debug/
Delf_symtab_writer.h103 for (const MethodDebugInfo& info : debug_info.compiled_methods) { in WriteDebugSymbols() local
104 if (info.deduped) { in WriteDebugSymbols()
105 deduped_addresses.insert(info.code_address); in WriteDebugSymbols()
107 if (kGenerateArmMappingSymbol && info.isa == InstructionSet::kThumb2) { in WriteDebugSymbols()
108 uint64_t address = info.code_address; in WriteDebugSymbols()
109 address += info.is_code_address_text_relative ? text->GetAddress() : 0; in WriteDebugSymbols()
117 for (const MethodDebugInfo& info : debug_info.compiled_methods) { in WriteDebugSymbols() local
118 if (deduped_addresses.find(info.code_address) != deduped_addresses.end()) { in WriteDebugSymbols()
119 deduped_methods[info.code_address].push_back(&info); in WriteDebugSymbols()
134 for (const MethodDebugInfo& info : debug_info.compiled_methods) { in WriteDebugSymbols() local
[all …]
/art/compiler/optimizing/
Dinduction_var_range.cc175 HInductionVarAnalysis::InductionInfo* info = nullptr; in GetInductionRange() local
177 if (!HasInductionInfo(context, instruction, &loop, &info, &trip)) { in GetInductionRange()
183 switch (info->type) { in GetInductionRange()
197 *min_val = SimplifyMin(GetVal(info, trip, in_body, /* is_min= */ true)); in GetInductionRange()
198 *max_val = SimplifyMax(GetVal(info, trip, in_body, /* is_min= */ false), chase_hint); in GetInductionRange()
199 *needs_finite_test = NeedsTripCount(info, &stride_value) && IsUnsafeTripCount(trip); in GetInductionRange()
202 if (!min_val->is_known && info->induction_class == HInductionVarAnalysis::kWrapAround) { in GetInductionRange()
203 *min_val = SimplifyMin(GetVal(info, trip, in_body, /* is_min= */ true)); in GetInductionRange()
349 HInductionVarAnalysis::InductionInfo* info = nullptr; in IsUnitStride() local
351 if (HasInductionInfo(context, instruction, &loop, &info, &trip)) { in IsUnitStride()
[all …]
Dinduction_var_range.h214 bool IsConstant(HInductionVarAnalysis::InductionInfo* info,
222 /*out*/ HInductionVarAnalysis::InductionInfo** info,
225 bool HasFetchInLoop(HInductionVarAnalysis::InductionInfo* info) const;
226 bool NeedsTripCount(HInductionVarAnalysis::InductionInfo* info,
232 Value GetLinear(HInductionVarAnalysis::InductionInfo* info,
236 Value GetPolynomial(HInductionVarAnalysis::InductionInfo* info,
240 Value GetGeometric(HInductionVarAnalysis::InductionInfo* info,
248 Value GetVal(HInductionVarAnalysis::InductionInfo* info,
268 HInductionVarAnalysis::InductionInfo* info,
273 HInductionVarAnalysis::InductionInfo* info,
[all …]
/art/libprofile/profile/
Dprofile_compilation_info_test.cc62 const ProfileCompilationInfo& info, in GetMethod() argument
66 return info.GetMethodHotness(MethodReference(dex, method_idx), annotation); in GetMethod()
166 bool IsEmpty(const ProfileCompilationInfo& info) { in IsEmpty() argument
167 return info.IsEmpty(); in IsEmpty()
248 ProfileCompilationInfo info; in TEST_F() local
253 ASSERT_TRUE(info.AddClass(*dex1, dex::TypeIndex(type_index))); in TEST_F()
258 ASSERT_TRUE(info.AddClass(*dex1, descriptor)); in TEST_F()
262 ASSERT_FALSE(info.AddClass(*dex1, "LCannotAddThis;")); in TEST_F()
267 ASSERT_TRUE(info.AddClass(*dex2, dex::TypeIndex(type_index))); in TEST_F()
271 ASSERT_FALSE(info.AddClass(*dex2, "LCannotAddThis;")); in TEST_F()
[all …]
Dprofile_test_helper.h38 ProfileCompilationInfo* info,
42 return AddMethod(info, dex, method_idx, Hotness::kFlagHot, annotation);
46 ProfileCompilationInfo* info,
51 return info->AddMethod(
56 ProfileCompilationInfo* info,
61 return AddMethod(info, dex, method_idx, inline_caches, Hotness::kFlagHot, annotation);
65 ProfileCompilationInfo* info,
71 return info->AddMethod(
75 static bool AddClass(ProfileCompilationInfo* info,
79 return info->AddClass(*dex, type_index, annotation);
[all …]
/art/runtime/
Dclass_loader_context.cc75 ClassLoaderContext::ClassLoaderInfo* info, in AddToWorkList() argument
77 if (info->parent != nullptr) { in AddToWorkList()
78 work_list.push_back(info->parent.get()); in AddToWorkList()
80 for (size_t i = 0; i < info->shared_libraries.size(); ++i) { in AddToWorkList()
81 work_list.push_back(info->shared_libraries[i].get()); in AddToWorkList()
92 ClassLoaderInfo* info = work_list.back(); in ~ClassLoaderContext() local
94 for (std::unique_ptr<OatFile>& oat_file : info->opened_oat_files) { in ~ClassLoaderContext()
97 for (std::unique_ptr<const DexFile>& dex_file : info->opened_dex_files) { in ~ClassLoaderContext()
100 AddToWorkList(info, work_list); in ~ClassLoaderContext()
202 std::unique_ptr<ClassLoaderInfo> info(new ClassLoaderInfo(class_loader_type)); in ParseClassLoaderSpec() local
[all …]
Druntime_common.h56 utsname info; in Dump() local
57 uname(&info); in Dump()
60 os << info.sysname << " " << info.release << " (" << info.machine << ")"; in Dump()
71 siginfo_t* info,
Dfault_handler.cc47 static bool art_fault_handler(int sig, siginfo_t* info, void* context) { in art_fault_handler() argument
48 return fault_manager.HandleFault(sig, info, context); in art_fault_handler()
170 bool FaultManager::HandleFaultByOtherHandlers(int sig, siginfo_t* info, void* context) { in HandleFaultByOtherHandlers() argument
181 if (handler->Action(sig, info, context)) { in HandleFaultByOtherHandlers()
199 static std::ostream& PrintSignalInfo(std::ostream& os, siginfo_t* info) { in PrintSignalInfo() argument
200 os << " si_signo: " << info->si_signo << " (" << strsignal(info->si_signo) << ")\n" in PrintSignalInfo()
201 << " si_code: " << info->si_code in PrintSignalInfo()
202 << " (" << SignalCodeName(info->si_signo, info->si_code) << ")"; in PrintSignalInfo()
203 if (info->si_signo == SIGSEGV) { in PrintSignalInfo()
204 os << "\n" << " si_addr: " << info->si_addr; in PrintSignalInfo()
[all …]
Dreflective_value_visitor.h51 virtual ArtMethod* VisitMethod(ArtMethod* in, const ReflectionSourceInfo& info)
53 virtual ArtField* VisitField(ArtField* in, const ReflectionSourceInfo& info)
60 T* operator()(T* t, const ReflectionSourceInfo& info) REQUIRES_SHARED(Locks::mutator_lock_) { in operator()
62 return VisitField(t, info); in operator()
65 return VisitMethod(t, info); in operator()
74 ArtField* VisitField(ArtField* in, const ReflectionSourceInfo& info) override in VisitField() argument
76 return fv_(in, info); in VisitField()
78 ArtMethod* VisitMethod(ArtMethod* in, const ReflectionSourceInfo& info) override in VisitMethod() argument
80 return mv_(in, info); in VisitMethod()
121 inline std::ostream& operator<<(std::ostream& os, const ReflectionSourceInfo& info) {
[all …]
Dgc_root.h112 ALWAYS_INLINE void VisitRoot(mirror::Object** root, const RootInfo& info) in VisitRoot() argument
114 VisitRoots(&root, 1, info); in VisitRoot()
118 ALWAYS_INLINE void VisitRootIfNonNull(mirror::Object** root, const RootInfo& info) in VisitRootIfNonNull() argument
121 VisitRoot(root, info); in VisitRootIfNonNull()
125 virtual void VisitRoots(mirror::Object*** roots, size_t count, const RootInfo& info)
129 const RootInfo& info)
137 void VisitRoots(mirror::Object*** roots, size_t count, const RootInfo& info) override in VisitRoots() argument
140 VisitRoot(*roots[i], info); in VisitRoots()
145 const RootInfo& info) override in VisitRoots() argument
148 VisitRoot(roots[i]->AsMirrorPtr(), info); in VisitRoots()
[all …]
/art/test/ti-agent/
Djvmti_helper.cc248 const jvmtiExtensionEventInfo& info = infos[i]; in GetExtensionEventId() local
249 if (name == info.id) { in GetExtensionEventId()
250 res = info.extension_event_index; in GetExtensionEventId()
253 DeallocParams(jvmti, info.params, info.param_count); in GetExtensionEventId()
254 Dealloc(jvmti, info.short_description, info.id, info.params); in GetExtensionEventId()
269 const jvmtiExtensionFunctionInfo& info = infos[i]; in GetExtensionFunctionVoid() local
270 if (name == info.id) { in GetExtensionFunctionVoid()
271 res = reinterpret_cast<void*>(info.func); in GetExtensionFunctionVoid()
273 DeallocParams(jvmti, info.params, info.param_count); in GetExtensionFunctionVoid()
274 Dealloc(jvmti, info.short_description, info.errors, info.id, info.params); in GetExtensionFunctionVoid()
/art/test/924-threads/
Dthreads.cc93 jvmtiThreadInfo info; in Java_art_Test924_getThreadInfo() local
94 memset(&info, 0, sizeof(jvmtiThreadInfo)); in Java_art_Test924_getThreadInfo()
96 jvmtiError result = jvmti_env->GetThreadInfo(thread, &info); in Java_art_Test924_getThreadInfo()
105 return (info.name == nullptr) ? nullptr : env->NewStringUTF(info.name); in Java_art_Test924_getThreadInfo()
109 return env->NewStringUTF(android::base::StringPrintf("%d", info.priority).c_str()); in Java_art_Test924_getThreadInfo()
113 return env->NewStringUTF(info.is_daemon == JNI_TRUE ? "true" : "false"); in Java_art_Test924_getThreadInfo()
117 return env->NewLocalRef(info.thread_group); in Java_art_Test924_getThreadInfo()
121 return env->NewLocalRef(info.context_class_loader); in Java_art_Test924_getThreadInfo()
128 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(info.name)); in Java_art_Test924_getThreadInfo()
129 if (info.thread_group != nullptr) { in Java_art_Test924_getThreadInfo()
[all …]
/art/compiler/debug/dwarf/
Ddwarf_test.cc300 DebugInfoEntryWriter<> info(is64bit, &debug_abbrev); in TEST_F() local
302 info.StartTag(dwarf::DW_TAG_compile_unit); in TEST_F()
305 info.WriteStrp(dwarf::DW_AT_producer, "Compiler name", &debug_str_data_); in TEST_F()
307 info.WriteAddr(dwarf::DW_AT_low_pc, 0x01000000); in TEST_F()
309 info.WriteAddr(dwarf::DW_AT_high_pc, 0x02000000); in TEST_F()
311 info.StartTag(dwarf::DW_TAG_subprogram); in TEST_F()
313 info.WriteStrp(dwarf::DW_AT_name, "Foo", &debug_str_data_); in TEST_F()
315 info.WriteAddr(dwarf::DW_AT_low_pc, 0x01010000); in TEST_F()
317 info.WriteAddr(dwarf::DW_AT_high_pc, 0x01020000); in TEST_F()
319 info.EndTag(); // DW_TAG_subprogram in TEST_F()
[all …]
/art/test/1930-monitor-info/
DAndroid.bp3 // Build rules for ART run-test `1930-monitor-info`.
16 name: "art-run-test-1930-monitor-info",
21 ":art-run-test-1930-monitor-info-expected-stdout",
22 ":art-run-test-1930-monitor-info-expected-stderr",
28 name: "art-run-test-1930-monitor-info-expected-stdout",
29 out: ["art-run-test-1930-monitor-info-expected-stdout.txt"],
36 name: "art-run-test-1930-monitor-info-expected-stderr",
37 out: ["art-run-test-1930-monitor-info-expected-stderr.txt"],
/art/test/1922-owned-monitors-info/
DAndroid.bp3 // Build rules for ART run-test `1922-owned-monitors-info`.
16 name: "art-run-test-1922-owned-monitors-info",
21 ":art-run-test-1922-owned-monitors-info-expected-stdout",
22 ":art-run-test-1922-owned-monitors-info-expected-stderr",
28 name: "art-run-test-1922-owned-monitors-info-expected-stdout",
29 out: ["art-run-test-1922-owned-monitors-info-expected-stdout.txt"],
36 name: "art-run-test-1922-owned-monitors-info-expected-stderr",
37 out: ["art-run-test-1922-owned-monitors-info-expected-stderr.txt"],
/art/tools/jvmti-agents/enable-vlog/
Denablevlog.cc68 const jvmtiExtensionFunctionInfo& info = infos[i]; in GetExtensionFunction() local
69 if (name == info.id) { in GetExtensionFunction()
70 res = reinterpret_cast<void*>(info.func); in GetExtensionFunction()
72 DeallocParams(jvmti, info.params, info.param_count); in GetExtensionFunction()
73 Dealloc(jvmti, info.short_description, info.errors, info.id, info.params); in GetExtensionFunction()
/art/tools/dexfuzz/src/dexfuzz/rawdex/formats/
DFormat21c.java29 file.writeByte((byte) insn.info.value); in writeToFile()
66 public PoolIndexKind getPoolIndexKind(OpcodeInfo info) { in getPoolIndexKind() argument
67 if (info.opcode == Opcode.CONST_STRING) { in getPoolIndexKind()
70 if (info.opcode == Opcode.CONST_CLASS in getPoolIndexKind()
71 || info.opcode == Opcode.CHECK_CAST in getPoolIndexKind()
72 || info.opcode == Opcode.NEW_INSTANCE) { in getPoolIndexKind()
/art/test/927-timers/
Dtimers.cc56 jvmtiTimerInfo info; in Java_art_Test927_getTimerInfo() local
57 jvmtiError result = jvmti_env->GetTimerInfo(&info); in Java_art_Test927_getTimerInfo()
66 return env->NewStringUTF(android::base::StringPrintf("%" PRId64, info.max_value).c_str()); in Java_art_Test927_getTimerInfo()
70 return env->NewStringUTF(info.may_skip_forward == JNI_TRUE ? "true" : "false"); in Java_art_Test927_getTimerInfo()
73 return env->NewStringUTF(info.may_skip_forward == JNI_TRUE ? "true" : "false"); in Java_art_Test927_getTimerInfo()
78 android::base::StringPrintf("%d", static_cast<jint>(info.kind)).c_str()); in Java_art_Test927_getTimerInfo()
/art/tools/ahat/src/main/com/android/ahat/
DSiteHandler.java98 for (Site.ObjectsInfo info : selector.selected()) { in handle()
99 Site.ObjectsInfo baseinfo = info.getBaseline(); in handle()
100 String className = info.getClassName(); in handle()
101 SizeTable.row(doc, info.numBytes, baseinfo.numBytes, in handle()
104 site.getId(), info.heap.getName(), className), in handle()
105 DocString.format("%,14d", info.numInstances)), in handle()
106 DocString.delta(false, false, info.numInstances, baseinfo.numInstances), in handle()
107 DocString.text(info.heap.getName()), in handle()
108 Summarizer.summarize(info.classObj)); in handle()
/art/test/925-threadgroups/
Dthreadgroups.cc59 jvmtiThreadGroupInfo info; in Java_art_Test925_getThreadGroupInfo() local
60 jvmtiError result = jvmti_env->GetThreadGroupInfo(group, &info); in Java_art_Test925_getThreadGroupInfo()
69 return info.parent; in Java_art_Test925_getThreadGroupInfo()
73 return (info.name == nullptr) ? nullptr : env->NewStringUTF(info.name); in Java_art_Test925_getThreadGroupInfo()
77 return env->NewStringUTF(android::base::StringPrintf("%d", info.max_priority).c_str()); in Java_art_Test925_getThreadGroupInfo()
81 return env->NewStringUTF(info.is_daemon == JNI_TRUE ? "true" : "false"); in Java_art_Test925_getThreadGroupInfo()
/art/runtime/gc/space/
Dlarge_object_space.cc337 size_t FreeListSpace::GetSlotIndexForAllocationInfo(const AllocationInfo* info) const { in GetSlotIndexForAllocationInfo()
338 DCHECK_GE(info, allocation_info_); in GetSlotIndexForAllocationInfo()
339 DCHECK_LT(info, reinterpret_cast<AllocationInfo*>(allocation_info_map_.End())); in GetSlotIndexForAllocationInfo()
340 return info - allocation_info_; in GetSlotIndexForAllocationInfo()
419 void FreeListSpace::RemoveFreePrev(AllocationInfo* info) { in RemoveFreePrev() argument
420 CHECK_GT(info->GetPrevFree(), 0U); in RemoveFreePrev()
421 auto it = free_blocks_.lower_bound(info); in RemoveFreePrev()
423 CHECK_EQ(*it, info); in RemoveFreePrev()
431 AllocationInfo* info = GetAllocationInfoForAddress(reinterpret_cast<uintptr_t>(obj)); in Free() local
432 DCHECK(!info->IsFree()); in Free()
[all …]
/art/profman/
Dprofile_assistant.cc37 ProfileCompilationInfo info(options.IsBootImageMerge()); in ProcessProfilesInternal() local
40 if (!info.Load(reference_profile_file->Fd(), /*merge_classes=*/ true, filter_fn)) { in ProcessProfilesInternal()
45 if (options.IsBootImageMerge() && !info.IsForBootImage()) { in ProcessProfilesInternal()
51 uint32_t number_of_methods = info.GetNumberOfMethods(); in ProcessProfilesInternal()
52 uint32_t number_of_classes = info.GetNumberOfResolvedClasses(); in ProcessProfilesInternal()
73 if (!info.MergeWith(cur_info)) { in ProcessProfilesInternal()
81 if (info.IsEmpty()) { in ProcessProfilesInternal()
91 if (((info.GetNumberOfMethods() - number_of_methods) < min_change_in_methods_for_compilation) && in ProcessProfilesInternal()
92 ((info.GetNumberOfResolvedClasses() - number_of_classes) in ProcessProfilesInternal()
103 if (!info.Save(reference_profile_file->Fd())) { in ProcessProfilesInternal()
/art/runtime/jit/
Dprofiling_info_test.cc73 ProfileCompilationInfo info; in SaveProfilingInfo() local
80 if (!info.AddMethods(profile_methods, flags)) { in SaveProfilingInfo()
83 if (info.GetNumberOfMethods() != profile_methods.size()) { in SaveProfilingInfo()
90 if (!info.MergeWith(file_profile)) { in SaveProfilingInfo()
94 return info.Save(filename, nullptr); in SaveProfilingInfo()
105 ProfileCompilationInfo info; in SaveProfilingInfoWithFakeInlineCaches() local
144 if (!info.AddMethods(profile_methods, flags) in SaveProfilingInfoWithFakeInlineCaches()
145 || info.GetNumberOfMethods() != profile_methods.size()) { in SaveProfilingInfoWithFakeInlineCaches()
148 return info.Save(filename, nullptr); in SaveProfilingInfoWithFakeInlineCaches()
250 ProfileCompilationInfo info; in TEST_F() local
[all …]
/art/tools/ahat/src/main/com/android/ahat/heapdump/
DSite.java222 ObjectsInfo info = getObjectsInfo(heap, inst.getClassObj()); in prepareForUse() local
223 info.numInstances++; in prepareForUse()
224 info.numBytes = info.numBytes.plus(size); in prepareForUse()
233 ObjectsInfo info = getObjectsInfo(childInfo.heap, childInfo.classObj); in prepareForUse() local
234 info.numInstances += childInfo.numInstances; in prepareForUse()
235 info.numBytes = info.numBytes.plus(childInfo.numBytes); in prepareForUse()
309 ObjectsInfo info = classToObjectsInfo.get(classObj); in getObjectsInfo() local
310 if (info == null) { in getObjectsInfo()
311 info = new ObjectsInfo(heap, classObj); in getObjectsInfo()
312 mObjectsInfos.add(info); in getObjectsInfo()
[all …]

123456789