Home
last modified time | relevance | path

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

12

/arkcompiler/ets_runtime/ecmascript/mem/
Dnative_area_allocator.cpp22 Area *NativeAreaAllocator::AllocateArea(size_t capacity) in AllocateArea()
54 void NativeAreaAllocator::FreeArea(Area *area) in FreeArea()
75 void NativeAreaAllocator::Free(void *mem, size_t size) in Free()
91 void *NativeAreaAllocator::AllocateBuffer(size_t size) in AllocateBuffer()
114 void NativeAreaAllocator::FreeBuffer(void *mem) in FreeBuffer()
131 void NativeAreaAllocator::FreeBufferFunc(void *buffer, void *data) in FreeBufferFunc()
136 NativeAreaAllocator* allocator = reinterpret_cast<NativeAreaAllocator*>(data); in FreeBufferFunc()
Dnative_area_allocator.h28 class PUBLIC_API NativeAreaAllocator {
30 NativeAreaAllocator() = default;
31 virtual ~NativeAreaAllocator() in ~NativeAreaAllocator()
53 NativeAreaAllocator* allocator = reinterpret_cast<NativeAreaAllocator*>(data); in FreeObjectFunc()
150 NO_COPY_SEMANTIC(NativeAreaAllocator);
151 NO_MOVE_SEMANTIC(NativeAreaAllocator);
Dchunk.h25 class NativeAreaAllocator; variable
31 explicit Chunk(NativeAreaAllocator *allocator);
97 NativeAreaAllocator *allocator_ {nullptr};
Dmark_stack.h110 currentArea_ = NativeAreaAllocator::AllocateSpace(DEFAULT_MARK_STACK_SIZE); in BeginMarking()
120 NativeAreaAllocator::FreeSpace(node); in FinishMarking()
150 NativeAreaAllocator::FreeSpace(currentArea_); in Destroy()
158 auto area = NativeAreaAllocator::AllocateSpace(DEFAULT_MARK_STACK_SIZE); in Extend()
Dchunk.cpp21 Chunk::Chunk(NativeAreaAllocator *allocator) : allocator_(allocator) {} in Chunk()
Dheap.h43 class NativeAreaAllocator; variable
254 NativeAreaAllocator *GetNativeAreaAllocator() const in GetNativeAreaAllocator()
685 NativeAreaAllocator *nativeAreaAllocator_ {nullptr};
/arkcompiler/ets_runtime/ecmascript/tests/
Dgc_test.cpp193 NativeAreaAllocator::FreeBufferFunc, nullptr, false, 1 * 1024 * 1024); in HWTEST_F_L0()
199 NativeAreaAllocator::FreeBufferFunc, nullptr, false, 1 * 1024 * 1024); in HWTEST_F_L0()
207 NativeAreaAllocator::FreeBufferFunc, nullptr, false, 1 * 1024 * 1024); in HWTEST_F_L0()
227 NativeAreaAllocator::FreeBufferFunc, nullptr, true, 1 * 1024 * 1024); in HWTEST_F_L0()
233 NativeAreaAllocator::FreeBufferFunc, nullptr, false, 1 * 1024 * 1024); in HWTEST_F_L0()
242 NativeAreaAllocator::FreeBufferFunc, nullptr, true, 1 * 1024 * 1024); in HWTEST_F_L0()
266 NativeAreaAllocator::FreeBufferFunc, nullptr, false, 1 * 1024 * 1024); in HWTEST_F_L0()
272 NativeAreaAllocator::FreeBufferFunc, nullptr, false, 1 * 1024 * 1024); in HWTEST_F_L0()
280 NativeAreaAllocator::FreeBufferFunc, nullptr, false, 1 * 1024 * 1024); in HWTEST_F_L0()
302 NativeAreaAllocator::FreeBufferFunc, nullptr, true, 1 * 1024 * 1024); in HWTEST_F_L0()
[all …]
/arkcompiler/ets_runtime/ecmascript/
Djs_arraybuffer.cpp54 NativeAreaAllocator *allocator = thread->GetEcmaVM()->GetNativeAreaAllocator(); in Attach()
74 NativeAreaAllocator *allocator = thread->GetEcmaVM()->GetNativeAreaAllocator(); in Detach()
Decma_vm.h203 NativeAreaAllocator *GetNativeAreaAllocator() const in GetNativeAreaAllocator()
438 std::unique_ptr<NativeAreaAllocator> nativeAreaAllocator_;
Decma_vm.cpp150 nativeAreaAllocator_(std::make_unique<NativeAreaAllocator>()), in EcmaVM()
489 const_cast<NativeAreaAllocator *>(GetNativeAreaAllocator())->Delete(heapProfile_); in DeleteHeapProfile()
506 …heapProfile_ = const_cast<NativeAreaAllocator *>(GetNativeAreaAllocator())->New<HeapProfiler>(this… in GetOrNewHeapProfile()
Decma_global_storage.h394 EcmaGlobalStorage(JSThread *thread, NativeAreaAllocator *allocator) in EcmaGlobalStorage()
575 NativeAreaAllocator *allocator_ {nullptr};
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/
Dstring_hashmap.cpp29 auto *newStr = const_cast<NativeAreaAllocator *>( in FindOrInsertString()
92 auto *alloctor = const_cast<NativeAreaAllocator *>(vm_->GetNativeAreaAllocator()); in Clear()
/arkcompiler/ets_runtime/ecmascript/compiler/tests/
Dlowering_relate_gate_test.cpp48 ecmascript::NativeAreaAllocator allocator; in HWTEST_F_L0()
75 ecmascript::NativeAreaAllocator allocator; in HWTEST_F_L0()
95 ecmascript::NativeAreaAllocator allocator; in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dstub_compiler.h52 void RunPipeline(LLVMModule *module, NativeAreaAllocator *allocator) const;
Dstub_compiler.cpp100 void StubCompiler::RunPipeline(LLVMModule *module, NativeAreaAllocator *allocator) const in RunPipeline()
137 NativeAreaAllocator allocator; in BuildStubModuleAndSave()
Ddebug_info.h24 DebugInfo(NativeAreaAllocator* allocator, bool enable = false);
Ddebug_info.cpp21 DebugInfo::DebugInfo(NativeAreaAllocator* allocator, bool enable) in DebugInfo()
Dts_inline_lowering.h112NativeAreaAllocator* nativeAreaAllocator, PassOptions *options, uint32_t methodOffset) in TSInlineLowering()
216 NativeAreaAllocator *nativeAreaAllocator_ {nullptr};
Dpass.h54 uint32_t methodOffset = 0, NativeAreaAllocator *allocator = nullptr,
149 NativeAreaAllocator* GetNativeAreaAllocator() const in GetNativeAreaAllocator()
211 NativeAreaAllocator *allocator_ {nullptr};
Dpass_manager.h99 NativeAreaAllocator *GetNativeAreaAllocator() const in GetNativeAreaAllocator()
Dfile_generators.h221 …Module* AddModule(NativeAreaAllocator *allocator, const std::string &name, const std::string &trip…
Dfile_generators.cpp331 Module* StubFileGenerator::AddModule(NativeAreaAllocator *allocator, const std::string &name, const… in AddModule()
350 NativeAreaAllocator allocator; in RunAsmAssembler()
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Dscope_info_extractor.cpp59 …scopeDebugInfo, NativeAreaAllocator::FreeObjectFunc<ScopeDebugInfo>, ecmaVm->GetNativeAreaAllocato… in GenerateScopeInfo()
/arkcompiler/ets_runtime/
Dlibark_jsruntime.map76 panda::ecmascript::NativeAreaAllocator::*;
/arkcompiler/ets_runtime/ecmascript/module/
Djs_module_deregister.cpp51 NativeAreaAllocator* allocator = thread->GetEcmaVM()->GetNativeAreaAllocator(); in FreeModuleRecord()

12