Searched refs:CodeAllocator (Results 1 – 12 of 12) sorted by relevance
26 const Alignment CodeAllocator::PAGE_LOG_ALIGN = GetLogAlignment(os::mem::GetPageSize());28 CodeAllocator::CodeAllocator(BaseMemStats *mem_stats) in CodeAllocator() function in panda::CodeAllocator41 CodeAllocator::~CodeAllocator() in ~CodeAllocator()47 void *CodeAllocator::AllocateCode(size_t size, const void *code_buff) in AllocateCode()60 os::mem::MapRange<std::byte> CodeAllocator::AllocateCodeUnprotected(size_t size) in AllocateCodeUnprotected()73 void CodeAllocator::ProtectCode(os::mem::MapRange<std::byte> mem_range) in ProtectCode()78 bool CodeAllocator::InAllocatedCodeRange(const void *pc) in InAllocatedCodeRange()84 void CodeAllocator::CodeRangeUpdate(void *ptr, size_t size) in CodeRangeUpdate()
27 class CodeAllocator {29 explicit CodeAllocator(BaseMemStats *mem_stats);30 ~CodeAllocator();31 NO_COPY_SEMANTIC(CodeAllocator);32 NO_MOVE_SEMANTIC(CodeAllocator);
59 CodeAllocator ca(&stats);
58 CodeAllocator ca(&stats);
82 code_alloc_ = new (std::nothrow) CodeAllocator(mem_stats_); in PrinterTest()102 CodeAllocator *GetCodeAllocator() in GetCodeAllocator()117 code_alloc_ = new (std::nothrow) CodeAllocator(mem_stats_); in ResetCodeAllocator()242 CodeAllocator *code_alloc_ {nullptr};
45 code_alloc_ = new (std::nothrow) CodeAllocator(mem_stats_); in Callconv64Test()83 CodeAllocator *code_alloc_ {nullptr};
143 code_alloc_ = new (std::nothrow) CodeAllocator(mem_stats_); in Encoder64Test()157 CodeAllocator *GetCodeAllocator() in GetCodeAllocator()167 code_alloc_ = new (std::nothrow) CodeAllocator(mem_stats_); in ResetCodeAllocator()430 CodeAllocator *code_alloc_ {nullptr};
129 code_alloc_ = new (std::nothrow) CodeAllocator(mem_stats_); in Encoder64Test()149 CodeAllocator *GetCodeAllocator() in GetCodeAllocator()159 code_alloc_ = new (std::nothrow) CodeAllocator(mem_stats_); in ResetCodeAllocator()427 CodeAllocator *code_alloc_ {nullptr};
45 code_alloc_ = new (std::nothrow) CodeAllocator(mem_stats_); in Callconv32Test()83 CodeAllocator *code_alloc_ {nullptr};
131 code_alloc_ = new (std::nothrow) CodeAllocator(mem_stats_); in Encoder32Test()143 CodeAllocator *GetCodeAllocator() in GetCodeAllocator()153 code_alloc_ = new (std::nothrow) CodeAllocator(mem_stats_); in ResetCodeAllocator()416 CodeAllocator *code_alloc_ {nullptr};
29 class CodeAllocator; variable