Home
last modified time | relevance | path

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

/art/compiler/jit/
Djit_logger.h97 void WriteLog(const void* ptr, size_t code_size, ArtMethod* method) in WriteLog() argument
99 WritePerfMapLog(ptr, code_size, method); in WriteLog()
100 WriteJitDumpLog(ptr, code_size, method); in WriteLog()
111 void WritePerfMapLog(const void* ptr, size_t code_size, ArtMethod* method)
117 void WriteJitDumpLog(const void* ptr, size_t code_size, ArtMethod* method)
Djit_logger.cc53 void JitLogger::WritePerfMapLog(const void* ptr, size_t code_size, ArtMethod* method) { in WritePerfMapLog() argument
61 << code_size in WritePerfMapLog()
270 void JitLogger::WriteJitDumpLog(const void* ptr, size_t code_size, ArtMethod* method) { in WriteJitDumpLog() argument
277 jit_code.size_ = sizeof(jit_code) + method_name.size() + 1 + code_size; in WriteJitDumpLog()
283 jit_code.code_size_ = code_size; in WriteJitDumpLog()
294 UNUSED(jit_dump_file_->WriteFully(ptr, code_size)); in WriteJitDumpLog()
/art/compiler/
Dexception_test.cc58 uint32_t code_size = 12; in SetUp() local
59 for (size_t i = 0 ; i < code_size; i++) { in SetUp()
79 OatQuickMethodHeader method_header(stack_maps_offset, 0u, 4 * sizeof(void*), 0u, 0u, code_size); in SetUp()
89 fake_header_code_and_maps_.data() + (fake_header_code_and_maps_.size() - code_size); in SetUp()
98 (fake_header_code_and_maps_.size() - code_size))); in SetUp()
Dcommon_compiler_test.cc59 const uint32_t code_size = code.size(); in MakeExecutable() local
73 code_size); in MakeExecutable()
78 const size_t size = method_info.size() + vmap_table.size() + sizeof(method_header) + code_size; in MakeExecutable()
86 const void* unaligned_code_ptr = chunk->data() + (size - code_size); in MakeExecutable()
93 CHECK_EQ(code_ptr, static_cast<const void*>(chunk->data() + (chunk->size() - code_size))); in MakeExecutable()
Doat_test.cc88 size_t code_size = quick_code.size() * sizeof(quick_code[0]); in CheckMethod() local
89 EXPECT_EQ(0, memcmp(quick_oat_code, &quick_code[0], code_size)) in CheckMethod()
90 << method->PrettyMethod() << " " << code_size; in CheckMethod()
91 CHECK_EQ(0, memcmp(quick_oat_code, &quick_code[0], code_size)); in CheckMethod()
Doat_writer.cc889 uint32_t code_size = quick_code.size() * sizeof(uint8_t); in VisitMethod() local
913 if (code_size != 0) { in VisitMethod()
958 code_size); in VisitMethod()
963 offset_ += code_size; in VisitMethod()
966 uintptr_t base_loc = offset_ - code_size - writer_->oat_header_->GetExecutableOffset(); in VisitMethod()
977 if (compiler_options.GenerateAnyDebugInfo() && code_size != 0) { in VisitMethod()
993 info.code_size = code_size; in VisitMethod()
1335 uint32_t code_size = quick_code.size() * sizeof(uint8_t); in VisitMethod() local
1455 if (!out->WriteFully(quick_code.data(), code_size)) { in VisitMethod()
1459 writer_->size_code_ += code_size; in VisitMethod()
[all …]
/art/runtime/
Doat_quick_method_header.cc30 uint32_t code_size) in OatQuickMethodHeader() argument
34 code_size_(code_size) {} in OatQuickMethodHeader()
Dnative_stack_dump.cc278 uintptr_t code_size = reinterpret_cast<const OatQuickMethodHeader*>(code)[-1].GetCodeSize(); in PcIsWithinQuickCode() local
279 return code <= pc && pc <= (code + code_size); in PcIsWithinQuickCode()
Doat_quick_method_header.h40 uint32_t code_size);
Dstack.cc625 uint32_t code_size = OatQuickMethodHeader::FromEntryPoint(code)->GetCodeSize(); in AssertPcIsWithinQuickCode() local
627 CHECK(code_start <= pc && pc <= (code_start + code_size)) in AssertPcIsWithinQuickCode()
631 << " code_size=" << code_size; in AssertPcIsWithinQuickCode()
/art/compiler/debug/
Dmethod_debug_info.h39 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()
195 info.code_size = 0; // The symbol lasts until the next symbol. in MakeTrampolineInfos()
Delf_symtab_writer.h86 symtab->Add(name_offset, text, address, info.code_size, STB_GLOBAL, STT_FUNC); in WriteDebugSymbols()
Delf_debug_loc_writer.h116 DCHECK_LE(pc_offset, method_info->code_size); in GetVariableLocations()
132 : method_info->code_address + method_info->code_size - compilation_unit_code_address; in GetVariableLocations()
Delf_debug_line_writer.h263 opcodes.AdvancePC(method_address + mi->code_size); in WriteCompilationUnit()
Delf_debug_frame_writer.h234 code_address, mi->code_size, in WriteCFISection()
Delf_debug_info_writer.h172 info_.WriteUdata(DW_AT_high_pc, mi->code_size); in Write()
/art/runtime/jit/
Djit_code_cache.cc117 size_t code_size = max_capacity - data_size; in Create() local
118 DCHECK_EQ(code_size + data_size, max_capacity); in Create()
131 code_size = initial_capacity - data_size; in Create()
132 DCHECK_EQ(code_size + data_size, initial_capacity); in Create()
134 code_map, data_map.release(), code_size, data_size, max_capacity, garbage_collect_code); in Create()
233 size_t code_size, in CommitCode() argument
248 code_size, in CommitCode()
266 code_size, in CommitCode()
556 size_t code_size, in CommitCodeInternal() argument
567 size_t total_size = header_size + code_size; in CommitCodeInternal()
[all …]
Djit_code_cache.h115 size_t code_size,
269 size_t code_size,
329 uint8_t* AllocateCode(size_t code_size) REQUIRES(lock_);
/art/compiler/debug/dwarf/
Dheaders.h84 uint64_t code_size, in WriteFDE() argument
114 writer.PushUint64(code_size); in WriteFDE()
117 writer.PushUint32(code_size); in WriteFDE()
/art/oatdump/
Doatdump.cc296 info.code_size = method_header->GetCodeSize(); in WalkOatMethod()
1159 uint32_t code_size = oat_method.GetQuickCodeSize(); in DumpOatMethod() local
1161 if (resolved_addr2instr_ > code_offset + code_size) { in DumpOatMethod()
1292 uint64_t aligned_code_end = aligned_code_begin + code_size; in DumpOatMethod()
1293 stats_.AddBitsIfUnique(Stats::kByteKindCode, code_size * kBitsPerByte, code); in DumpOatMethod()
1301 code_size, in DumpOatMethod()
1316 code_size, code_size_offset); in DumpOatMethod()
1323 } else if (code_size > kMaxCodeSize) { in DumpOatMethod()
1328 code_size, kMaxCodeSize, in DumpOatMethod()
1329 code_size, code_size_offset); in DumpOatMethod()
[all …]
/art/compiler/linker/arm64/
Drelative_patcher_arm64.cc71 inline uint32_t MaxExtraSpace(size_t num_adrp, size_t code_size) { in MaxExtraSpace() argument
75 uint32_t alignment_bytes = CompiledMethod::AlignCode(code_size, kArm64) - code_size; in MaxExtraSpace()
/art/compiler/optimizing/
Dcode_generator.cc284 size_t code_size = GetAssembler()->CodeSize(); in Finalize() local
285 uint8_t* buffer = allocator->Allocate(code_size); in Finalize()
287 MemoryRegion code(buffer, code_size); in Finalize()
Doptimizing_compiler.cc1269 info.code_size = code_allocator.GetSize(); in JitCompile()
/art/runtime/openjdkjvmti/include/
Djvmti.h754 jint code_size,