Home
last modified time | relevance | path

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

/art/compiler/jit/
Djit_logger.h98 void WriteLog(const void* ptr, size_t code_size, ArtMethod* method) in WriteLog() argument
100 WritePerfMapLog(ptr, code_size, method); in WriteLog()
101 WriteJitDumpLog(ptr, code_size, method); in WriteLog()
112 void WritePerfMapLog(const void* ptr, size_t code_size, ArtMethod* method)
118 void WriteJitDumpLog(const void* ptr, size_t code_size, ArtMethod* method)
Djit_logger.cc52 void JitLogger::WritePerfMapLog(const void* ptr, size_t code_size, ArtMethod* method) { in WritePerfMapLog() argument
60 << code_size in WritePerfMapLog()
269 void JitLogger::WriteJitDumpLog(const void* ptr, size_t code_size, ArtMethod* method) { in WriteJitDumpLog() argument
276 jit_code.size_ = sizeof(jit_code) + method_name.size() + 1 + code_size; in WriteJitDumpLog()
282 jit_code.code_size_ = code_size; in WriteJitDumpLog()
293 UNUSED(jit_dump_file_->WriteFully(ptr, code_size)); in WriteJitDumpLog()
/art/compiler/
Dcommon_compiler_test.cc55 const uint32_t code_size = code.size(); in MakeExecutable() local
59 OatQuickMethodHeader method_header(vmap_table_offset, code_size); in MakeExecutable()
64 const size_t size = vmap_table.size() + sizeof(method_header) + code_size; in MakeExecutable()
72 const void* unaligned_code_ptr = chunk->data() + (size - code_size); in MakeExecutable()
79 CHECK_EQ(code_ptr, static_cast<const void*>(chunk->data() + (chunk->size() - code_size))); in MakeExecutable()
Dexception_test.cc68 uint32_t code_size = 12; in SetUp() local
69 for (size_t i = 0 ; i < code_size; i++) { in SetUp()
90 fake_header_code_and_maps_.resize(stack_maps_size + header_size + code_size + code_alignment); in SetUp()
96 OatQuickMethodHeader method_header(code_ptr - fake_header_code_and_maps_.data(), code_size); in SetUp()
/art/compiler/debug/
Dmethod_debug_info.h42 uint32_t code_size; member
Delf_debug_writer.cc65 cu.code_end = std::max(cu.code_end, mi.code_address + mi.code_size); in WriteDebugInfo()
190 builder->GetText()->AllocateVirtualMemory(method_info.code_address, method_info.code_size); in MakeElfFileForJIT()
211 DCHECK_EQ(sym.st_size, method_info.code_size); in MakeElfFileForJIT()
218 DCHECK_EQ(fde->sym_size, method_info.code_size); in MakeElfFileForJIT()
Delf_symtab_writer.h101 symtab->Add(name_offset, text, address, info.code_size, STB_GLOBAL, STT_FUNC); in WriteDebugSymbols()
Delf_debug_loc_writer.h115 DCHECK_LE(pc_offset, method_info->code_size); in GetVariableLocations()
131 : method_info->code_address + method_info->code_size - compilation_unit_code_address; in GetVariableLocations()
Delf_debug_line_writer.h261 opcodes.AdvancePC(method_address + mi->code_size); in WriteCompilationUnit()
Delf_debug_frame_writer.h224 mi->code_size, in WriteCFISection()
Delf_debug_info_writer.h129 uint64_t high_pc = low_pc + mi->code_size; in Write()
182 info_.WriteUdata(DW_AT_high_pc, mi->code_size); in Write()
/art/libelffile/dwarf/
Dheaders.h72 uint64_t code_size, in WriteFDE() argument
82 writer.PushUint64(code_size); in WriteFDE()
85 writer.PushUint32(code_size); in WriteFDE()
/art/runtime/
Doat_quick_method_header.h35 uint32_t code_size) in OatQuickMethodHeader() argument
37 code_size_(code_size) { in OatQuickMethodHeader()
Dnative_stack_dump.cc310 uintptr_t code_size = reinterpret_cast<const OatQuickMethodHeader*>(code)[-1].GetCodeSize(); in PcIsWithinQuickCode() local
311 return code <= pc && pc <= (code + code_size); in PcIsWithinQuickCode()
Dstack.cc609 uint32_t code_size = OatQuickMethodHeader::FromEntryPoint(code)->GetCodeSize(); in AssertPcIsWithinQuickCode() local
611 CHECK(code_start <= pc && pc <= (code_start + code_size)) in AssertPcIsWithinQuickCode()
615 << " code_size=" << code_size; in AssertPcIsWithinQuickCode()
/art/runtime/jit/
Djit_code_cache.h138 size_t code_size,
299 size_t code_size,
391 uint8_t* AllocateCode(size_t code_size) REQUIRES(lock_);
Djit_code_cache.cc604 size_t code_size, in CommitCode() argument
615 code_size, in CommitCode()
629 code_size, in CommitCode()
979 size_t code_size, in CommitCodeInternal() argument
1008 size_t total_size = header_size + code_size; in CommitCodeInternal()
1019 std::copy(code, code + code_size, code_ptr); in CommitCodeInternal()
1029 code_size); in CommitCodeInternal()
1178 histogram_code_memory_use_.AddValue(code_size); in CommitCodeInternal()
1179 if (code_size > kCodeSizeLogThreshold) { in CommitCodeInternal()
1181 << PrettySize(code_size) in CommitCodeInternal()
/art/dex2oat/linker/arm64/
Drelative_patcher_arm64.cc75 inline uint32_t MaxExtraSpace(size_t num_adrp, size_t code_size) { in MaxExtraSpace() argument
80 CompiledMethod::AlignCode(code_size, InstructionSet::kArm64) - code_size; in MaxExtraSpace()
/art/oatdump/
Doatdump.cc199 info.code_size = 0; /* The symbol lasts until the next symbol. */ \ in Symbolize()
321 info.code_size = method_header->GetCodeSize(); in WalkOatMethod()
1132 uint32_t code_size = oat_method.GetQuickCodeSize(); in DumpOatMethod() local
1134 if (resolved_addr2instr_ > code_offset + code_size) { in DumpOatMethod()
1270 uint64_t aligned_code_end = aligned_code_begin + code_size; in DumpOatMethod()
1272 stats_.Child("Code")->AddBytes(code_size); in DumpOatMethod()
1281 code_size, in DumpOatMethod()
1296 code_size, code_size_offset); in DumpOatMethod()
1303 } else if (code_size > kMaxCodeSize) { in DumpOatMethod()
1308 code_size, kMaxCodeSize, in DumpOatMethod()
[all …]
/art/dex2oat/linker/
Doat_writer_test.cc81 size_t code_size = quick_code.size() * sizeof(quick_code[0]); in CheckMethod() local
82 EXPECT_EQ(0, memcmp(quick_oat_code, &quick_code[0], code_size)) in CheckMethod()
83 << method->PrettyMethod() << " " << code_size; in CheckMethod()
84 CHECK_EQ(0, memcmp(quick_oat_code, &quick_code[0], code_size)); in CheckMethod()
Doat_writer.cc1175 uint32_t code_size = quick_code.size() * sizeof(uint8_t); in VisitMethod() local
1180 if (compiler_options.GenerateAnyDebugInfo() && code_size != 0) { in VisitMethod()
1287 uint32_t code_size = quick_code.size() * sizeof(uint8_t); in VisitMethod() local
1310 if (code_size != 0) { in VisitMethod()
1336 *method_header = OatQuickMethodHeader(vmap_table_offset, code_size); in VisitMethod()
1341 offset_ += code_size; in VisitMethod()
1345 if (generate_debug_info_ && code_size != 0) { in VisitMethod()
1365 info.code_size = code_size; in VisitMethod()
1696 uint32_t code_size = quick_code.size() * sizeof(uint8_t); in VisitMethod() local
1829 if (!out->WriteFully(quick_code.data(), code_size)) { in VisitMethod()
[all …]
/art/dex2oat/linker/arm/
Drelative_patcher_arm_base.cc268 info.code_size = data.CodeSize(); in GenerateThunkDebugInfo()
/art/compiler/optimizing/
Dcode_generator.cc446 size_t code_size = GetAssembler()->CodeSize(); in Finalize() local
447 uint8_t* buffer = allocator->Allocate(code_size); in Finalize()
449 MemoryRegion code(buffer, code_size); in Finalize()
Doptimizing_compiler.cc1328 info.code_size = jni_compiled_method.GetCode().size(); in JitCompile()
1437 info.code_size = code_allocator.GetMemory().size(); in JitCompile()
/art/openjdkjvmti/include/
Djvmti.h754 jint code_size,