Home
last modified time | relevance | path

Searched refs:method_header (Results 1 – 14 of 14) sorted by relevance

/art/test/004-ReferenceMap/
Dstack_walk_refmap_jni.cc26 const OatQuickMethodHeader* method_header = GetCurrentOatQuickMethodHeader(); \
27 uintptr_t native_quick_pc = method_header->ToNativeQuickPc(GetMethod(), \
35 method_header->NativeQuickPcOffset(native_quick_pc), \
/art/runtime/
Doat_file-inl.h37 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()
Dart_method.cc563 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 …]
Dfault_handler.cc330 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()
Dcha.cc209 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()
Dquick_exception_handler.cc458 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()
Dstack.cc274 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()
Dthread.cc3936 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/
Djit_code_cache.cc338 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 …]
Djit_memory_region.cc382 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/
Dcommon_compiler_test.cc60 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()
Dexception_test.cc97 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/
Doatdump.cc296 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/
Doat_writer.cc1365 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()