/art/compiler/debug/ |
D | elf_debug_info_writer.h | 106 info_(Is64BitInstructionSet(owner_->builder_->GetIsa()), &owner->debug_abbrev_) { in ElfCompilationUnitWriter() 117 info_.StartTag(DW_TAG_compile_unit); in Write() 118 info_.WriteString(DW_AT_producer, "Android dex2oat"); in Write() 119 info_.WriteData1(DW_AT_language, DW_LANG_Java); in Write() 120 info_.WriteString(DW_AT_comp_dir, "$JAVA_SRC_ROOT"); in Write() 122 info_.WriteAddr(DW_AT_low_pc, base_address + compilation_unit.code_address); in Write() 123 info_.WriteSecOffset(DW_AT_stmt_list, compilation_unit.debug_line_offset); in Write() 127 info_.WriteSecOffset(DW_AT_ranges, owner_->debug_ranges_.size()); in Write() 164 size_t reference_tag_offset = info_.StartTag(DW_TAG_reference_type); in Write() 166 size_t type_attrib_offset = info_.size(); in Write() [all …]
|
/art/tools/jvmti-agents/breakpoint-logger/ |
D | breakpoint_logger.cc | 75 memset(&info_, 0, sizeof(info_)); in ScopedThreadInfo() 77 info_.name = const_cast<char*>("<NULLPTR>"); in ScopedThreadInfo() 78 } else if (jvmti_env->GetThreadInfo(thread, &info_) != JVMTI_ERROR_NONE) { in ScopedThreadInfo() 79 info_.name = const_cast<char*>("<UNKNOWN THREAD>"); in ScopedThreadInfo() 87 jvmti_env_->Deallocate(reinterpret_cast<unsigned char*>(info_.name)); in ~ScopedThreadInfo() 89 env_->DeleteLocalRef(info_.thread_group); in ~ScopedThreadInfo() 90 env_->DeleteLocalRef(info_.context_class_loader); in ~ScopedThreadInfo() 94 return info_.name; in GetName() 101 jvmtiThreadInfo info_; member in breakpoint_logger::ScopedThreadInfo
|
/art/tools/jvmti-agents/ti-alloc-sample/ |
D | ti_alloc_sample.cc | 57 info_.name = const_cast<char*>("<NULLPTR>"); in ScopedThreadInfo() 58 } else if (jvmtienv->GetThreadInfo(thread, &info_) != JVMTI_ERROR_NONE) { in ScopedThreadInfo() 59 info_.name = const_cast<char*>("<UNKNOWN THREAD>"); in ScopedThreadInfo() 67 jvmtienv_->Deallocate(reinterpret_cast<unsigned char*>(info_.name)); in ~ScopedThreadInfo() 69 DeleteLocalRef(env_, info_.thread_group); in ~ScopedThreadInfo() 70 DeleteLocalRef(env_, info_.context_class_loader); in ~ScopedThreadInfo() 74 return info_.name; in GetName() 81 jvmtiThreadInfo info_{}; member in tifast::__anon55c5bed10111::ScopedThreadInfo
|
/art/libprofile/profile/ |
D | profile_compilation_info.h | 342 DCHECK_LT(profile_index, info_.size()); in AddClass() 343 DexFileData* const data = info_[profile_index].get(); in AddClass() 403 DCHECK_LT(profile_index, info_.size()); in AddMethod() 404 DexFileData* const data = info_[profile_index].get(); in AddMethod() 493 return info_.size(); in GetNumberOfDexFiles() 504 return info_[profile_index]->IsStartupMethod(method_index); in IsStartupMethod() 509 return info_[profile_index]->IsPostStartupMethod(method_index); in IsPostStartupMethod() 514 return info_[profile_index]->IsHotMethod(method_index); in IsHotMethod() 519 DCHECK_LT(profile_index, info_.size()); in IsMethodInProfile() 520 const DexFileData* const data = info_[profile_index].get(); in IsMethodInProfile() [all …]
|
D | profile_compilation_info.cc | 564 info_(allocator_.Adapter(kArenaAllocProfile)), in ProfileCompilationInfo() 1018 DCHECK_LE(info_.size(), MaxProfileIndex()); in Save() 1019 for (const std::unique_ptr<DexFileData>& dex_data : info_) { in Save() 1082 buffer.WriteUintAndAdvance(dchecked_integral_cast<ProfileIndexType>(info_.size())); in Save() 1083 for (const std::unique_ptr<DexFileData>& dex_data : info_) { in Save() 1119 for (const std::unique_ptr<DexFileData>& dex_data : info_) { in Save() 1134 for (const std::unique_ptr<DexFileData>& dex_data : info_) { in Save() 1192 DCHECK_EQ(profile_key_map_.size(), info_.size()); in GetOrAddDexFileData() 1204 ProfileIndexType new_profile_index = dchecked_integral_cast<ProfileIndexType>(info_.size()); in GetOrAddDexFileData() 1216 info_.push_back(std::move(dex_file_data)); in GetOrAddDexFileData() [all …]
|
/art/runtime/mirror/ |
D | method_handle_impl.h | 128 return MemberOffset(OFFSETOF_MEMBER(MethodHandleImpl, info_)); in InfoOffset() 131 HeapReference<mirror::Object> info_; // Unused by the runtime. variable
|
/art/test/913-heaps/ |
D | heaps.cc | 311 memcpy(&info_, reference_info, sizeof(jvmtiHeapReferenceInfo)); in Java_art_Test913_followReferences() 317 if (info_.jni_local.method != nullptr) { in Java_art_Test913_followReferences() 318 jvmti_env->GetMethodName(info_.jni_local.method, &name, nullptr, nullptr); in Java_art_Test913_followReferences() 329 info_.jni_local.thread_tag, in Java_art_Test913_followReferences() 330 info_.jni_local.depth, in Java_art_Test913_followReferences() 341 jvmtiHeapReferenceInfo info_; in Java_art_Test913_followReferences() member in art::Test913Heaps::Java_art_Test913_followReferences::PrintIterationConfig::JNILocalElement 352 memcpy(&info_, reference_info, sizeof(jvmtiHeapReferenceInfo)); in Java_art_Test913_followReferences() 363 if (info_.stack_local.method != nullptr) { in Java_art_Test913_followReferences() 364 jvmti_env->GetMethodName(info_.stack_local.method, &name, nullptr, nullptr); in Java_art_Test913_followReferences() 375 info_.stack_local.thread_tag, in Java_art_Test913_followReferences() [all …]
|
/art/test/ti-stress/ |
D | stress.cc | 125 memset(&info_, 0, sizeof(info_)); in ScopedThreadInfo() 127 info_.name = const_cast<char*>("<NULLPTR>"); in ScopedThreadInfo() 128 } else if (jvmtienv->GetThreadInfo(thread, &info_) != JVMTI_ERROR_NONE) { in ScopedThreadInfo() 129 info_.name = const_cast<char*>("<UNKNOWN THREAD>"); in ScopedThreadInfo() 137 jvmtienv_->Deallocate(reinterpret_cast<unsigned char*>(info_.name)); in ~ScopedThreadInfo() 139 DeleteLocalRef(env_, info_.thread_group); in ~ScopedThreadInfo() 140 DeleteLocalRef(env_, info_.context_class_loader); in ~ScopedThreadInfo() 144 return info_.name; in GetName() 151 jvmtiThreadInfo info_; member in art::ScopedThreadInfo
|
/art/dexlayout/ |
D | dexlayout.h | 112 info_(info), in DexLayout() 194 ProfileCompilationInfo* info_; variable
|
D | dexlayout.cc | 1879 if (info_->ContainsClass(*dex_file, type_idx)) { in LayoutClassDefsAndClassData() 1885 if (!info_->ContainsClass(*dex_file, type_idx)) { in LayoutClassDefsAndClassData() 1929 info_->ContainsClass(*dex_file, dex::TypeIndex(class_def->ClassType()->GetIndex())); in LayoutStringData() 1958 info_->GetMethodHotness(MethodReference(dex_file, method_id->GetIndex())).IsInProfile(); in LayoutStringData() 2046 info_->ContainsClass(*dex_file, dex::TypeIndex(class_def->ClassType()->GetIndex())); in LayoutCodeItems() 2066 Hotness hotness = info_->GetMethodHotness(MethodReference(dex_file, method_id->GetIndex())); in LayoutCodeItems() 2206 VisualizeDexLayout(header_, dex_file, dex_file_index, info_); in ProcessDexFile() 2224 bool do_layout = info_ != nullptr && !info_->IsEmpty(); in ProcessDexFile()
|
/art/tools/jvmti-agents/ti-fast/ |
D | tifast.cc | 134 info_.name = const_cast<char*>("<NULLPTR>"); in ScopedThreadInfo() 135 } else if (jvmtienv->GetThreadInfo(thread, &info_) != JVMTI_ERROR_NONE) { in ScopedThreadInfo() 136 info_.name = const_cast<char*>("<UNKNOWN THREAD>"); in ScopedThreadInfo() 144 jvmtienv_->Deallocate(reinterpret_cast<unsigned char*>(info_.name)); in ~ScopedThreadInfo() 146 DeleteLocalRef(env_, info_.thread_group); in ~ScopedThreadInfo() 147 DeleteLocalRef(env_, info_.context_class_loader); in ~ScopedThreadInfo() 151 return info_.name; in GetName() 158 jvmtiThreadInfo info_{}; member in tifast::__anon3adb63c80111::ScopedThreadInfo
|
/art/runtime/ |
D | class_linker_test.cc | 779 addOffset(OFFSETOF_MEMBER(mirror::MethodHandleImpl, info_), "info"); in MethodHandleImplOffsets()
|