/art/test/004-ReferenceMap/ |
D | stack_walk_refmap_jni.cc | 26 const OatQuickMethodHeader* method_header = GetCurrentOatQuickMethodHeader(); \ 27 uintptr_t native_quick_pc = method_header->ToNativeQuickPc(GetMethod(), \ 35 method_header->NativeQuickPcOffset(native_quick_pc), \
|
/art/runtime/ |
D | oat_file-inl.h | 37 const OatQuickMethodHeader* method_header = GetOatQuickMethodHeader(); in GetOatQuickMethodHeaderOffset() local 38 if (method_header == nullptr) { in GetOatQuickMethodHeaderOffset() 41 return reinterpret_cast<const uint8_t*>(method_header) - begin_; in GetOatQuickMethodHeaderOffset()
|
D | art_method.cc | 563 OatQuickMethodHeader* method_header = in GetOatQuickMethodHeader() local 566 if (method_header->Contains(pc)) { in GetOatQuickMethodHeader() 567 return method_header; in GetOatQuickMethodHeader() 580 OatQuickMethodHeader* method_header = code_cache->LookupMethodHeader(pc, this); in GetOatQuickMethodHeader() local 581 if (method_header != nullptr) { in GetOatQuickMethodHeader() 582 DCHECK(method_header->Contains(pc)); in GetOatQuickMethodHeader() 583 return method_header; in GetOatQuickMethodHeader() 621 OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromEntryPoint(oat_entry_point); in GetOatQuickMethodHeader() local 625 return method_header; in GetOatQuickMethodHeader() 628 DCHECK(method_header->Contains(pc)) in GetOatQuickMethodHeader() [all …]
|
D | fault_handler.cc | 330 const OatQuickMethodHeader* method_header = method_obj->GetOatQuickMethodHeader(return_pc); in IsInGeneratedCode() local 332 if (method_header == nullptr) { in IsInGeneratedCode() 342 reinterpret_cast<uintptr_t>(method_header->GetEntryPoint()); in IsInGeneratedCode() 352 dexpc = method_header->ToDexPc(reinterpret_cast<ArtMethod**>(sp), return_pc, false); in IsInGeneratedCode()
|
D | cha.cc | 209 const OatQuickMethodHeader* method_header = GetCurrentOatQuickMethodHeader(); in VisitFrame() local 210 DCHECK(method_header != nullptr); in VisitFrame() 211 if (!method_header->HasShouldDeoptimizeFlag()) { in VisitFrame() 215 auto it = std::find(method_headers_.begin(), method_headers_.end(), method_header); in VisitFrame() 671 OatQuickMethodHeader* method_header = dependent.second; in InvalidateSingleImplementationMethods() local 677 headers.push_back({method, method_header}); in InvalidateSingleImplementationMethods() 678 dependent_method_headers.insert(method_header); in InvalidateSingleImplementationMethods()
|
D | quick_exception_handler.cc | 458 const OatQuickMethodHeader* method_header = GetCurrentOatQuickMethodHeader(); in HandleOptimizingDeoptimization() local 459 CodeInfo code_info(method_header); in HandleOptimizingDeoptimization() 460 uintptr_t native_pc_offset = method_header->NativeQuickPcOffset(GetCurrentQuickFramePc()); in HandleOptimizingDeoptimization()
|
D | stack.cc | 274 const OatQuickMethodHeader* method_header = GetCurrentOatQuickMethodHeader(); in GetVRegFromOptimizedCode() local 275 CodeInfo code_info(method_header); in GetVRegFromOptimizedCode() 277 uint32_t native_pc_offset = method_header->NativeQuickPcOffset(cur_quick_frame_pc_); in GetVRegFromOptimizedCode()
|
D | thread.cc | 3936 const OatQuickMethodHeader* method_header = GetCurrentOatQuickMethodHeader(); in VisitQuickFrameWithVregCallback() local 3937 DCHECK(method_header->IsOptimized()); in VisitQuickFrameWithVregCallback() 3940 uintptr_t native_pc_offset = method_header->NativeQuickPcOffset(GetCurrentQuickFramePc()); in VisitQuickFrameWithVregCallback() 3942 ? CodeInfo(method_header) // We will need dex register maps. in VisitQuickFrameWithVregCallback() 3943 : CodeInfo::DecodeGcMasksOnly(method_header); in VisitQuickFrameWithVregCallback()
|
/art/runtime/jit/ |
D | jit_code_cache.cc | 338 OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in GetSavedEntryPointOfPreCompiledMethod() local 339 return method_header->GetEntryPoint(); in GetSavedEntryPointOfPreCompiledMethod() 392 OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in GetRootTable() local 393 uint8_t* data = method_header->GetOptimizedCodeInfoPtr(); in GetRootTable() 474 for (const OatQuickMethodHeader* method_header : method_headers) { in FreeAllMethodHeaders() local 475 FreeCodeAndData(method_header->GetCode()); in FreeAllMethodHeaders() 672 OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in Commit() local 726 class_linker->GetClassHierarchyAnalysis()->AddDependency(single_impl, method, method_header); in Commit() 737 data->UpdateEntryPoints(method_header->GetEntryPoint()); in Commit() 758 method, method_header->GetEntryPoint()); in Commit() [all …]
|
D | jit_memory_region.cc | 382 OatQuickMethodHeader* method_header = in CommitCode() local 384 new (method_header) OatQuickMethodHeader((stack_map != nullptr) ? result - stack_map : 0u); in CommitCode() 386 method_header->SetHasShouldDeoptimizeFlag(); in CommitCode()
|
/art/compiler/ |
D | common_compiler_test.cc | 60 OatQuickMethodHeader method_header(vmap_table_offset); in CodeAndMetadata() local 63 code_offset_ = RoundUp(vmap_table.size() + sizeof(method_header), code_alignment); in CodeAndMetadata() 90 CHECK_LE(sizeof(method_header), code_offset_); in CodeAndMetadata() 91 memcpy(code_addr - sizeof(method_header), &method_header, sizeof(method_header)); in CodeAndMetadata()
|
D | exception_test.cc | 97 OatQuickMethodHeader method_header(code_ptr - fake_header_code_and_maps_.data()); in SetUp() local 99 memcpy(code_ptr - header_size, &method_header, header_size); in SetUp()
|
/art/oatdump/ |
D | oatdump.cc | 296 const OatQuickMethodHeader* method_header = oat_method.GetOatQuickMethodHeader(); in WalkOatMethod() local 297 if (method_header == nullptr || method_header->GetCodeSize() == 0) { in WalkOatMethod() 316 info.is_optimized = method_header->IsOptimized(); in WalkOatMethod() 319 info.code_size = method_header->GetCodeSize(); in WalkOatMethod() 320 info.frame_size_in_bytes = method_header->GetFrameSizeInBytes(); in WalkOatMethod() 321 info.code_info = info.is_optimized ? method_header->GetOptimizedCodeInfoPtr() : nullptr; in WalkOatMethod() 1183 const OatQuickMethodHeader* method_header = oat_method.GetOatQuickMethodHeader(); in DumpOatMethod() local 1184 if (AddStatsObject(method_header)) { in DumpOatMethod() 1185 stats_["QuickMethodHeader"].AddBytes(sizeof(*method_header)); in DumpOatMethod() 1188 vios->Stream() << StringPrintf("%p ", method_header); in DumpOatMethod() [all …]
|
/art/dex2oat/linker/ |
D | oat_writer.cc | 1365 OatQuickMethodHeader* method_header = &oat_class->method_headers_[method_offsets_index_]; in VisitMethod() local 1366 uint32_t code_info_offset = method_header->GetCodeInfoOffset(); in VisitMethod() 1375 *method_header = OatQuickMethodHeader(code_info_offset); in VisitMethod() 1379 offset_ += sizeof(*method_header); // Method header is prepended before code. in VisitMethod() 1402 info.is_optimized = method_header->IsOptimized(); in VisitMethod() 1762 const OatQuickMethodHeader& method_header = in VisitMethod() local 1764 if (!out->WriteFully(&method_header, sizeof(method_header))) { in VisitMethod() 1768 writer_->size_method_header_ += sizeof(method_header); in VisitMethod() 1769 offset_ += sizeof(method_header); in VisitMethod()
|