Home
last modified time | relevance | path

Searched refs:internalAllocator (Results 1 - 23 of 23) sorted by relevance

/arkcompiler/runtime_core/static_core/runtime/mem/
H A Dmemory_manager.cpp27 static HeapManager *CreateHeapManager(InternalAllocatorPtr internalAllocator, const MemoryManager::HeapOptions &options, in CreateHeapManager() argument
37 internalAllocator, options.isStartAsZygote)) { in CreateHeapManager()
48 MemoryManager *MemoryManager::Create(const LanguageContext &ctx, InternalAllocatorPtr internalAllocator, GCType gcType, in Create() argument
54 HeapManager *heapManager = CreateHeapManager(internalAllocator, heapOptions, gcType, memStats.get()); in Create()
71 GlobalObjectStorage *globalObjectStorage = internalAllocator->New<GlobalObjectStorage>( in Create()
72 internalAllocator, heapOptions.maxGlobalRefSize, heapOptions.isGlobalReferenceSizeCheckEnabled); in Create()
78 return new MemoryManager(internalAllocator, heapManager, gc, gcTrigger, gcStats, memStats.release(), in Create()
H A Dmemory_manager.h76 static MemoryManager *Create(const LanguageContext &ctx, InternalAllocatorPtr internalAllocator, GCType gcType,
130 explicit MemoryManager(InternalAllocatorPtr internalAllocator, HeapManager *heapManager, GC *gc, in MemoryManager() argument
133 : internalAllocator_(internalAllocator), in MemoryManager()
H A Dheap_manager.cpp39 InternalAllocatorPtr internalAllocator, bool createPygoteSpace) in Initialize()
44 internalAllocator_ = internalAllocator; in Initialize()
38 Initialize(GCType gcType, MTModeT multithreadingMode, bool useTlab, MemStatsType *memStats, InternalAllocatorPtr internalAllocator, bool createPygoteSpace) Initialize() argument
H A Dheap_manager.h49 InternalAllocatorPtr internalAllocator, bool createPygoteSpace);
/arkcompiler/runtime_core/static_core/runtime/mem/gc/workers/
H A Dgc_worker.cpp24 auto internalAllocator = gc_->GetInternalAllocator(); in GCWorker() local
25 gcTaskQueue_ = internalAllocator->New<GCQueueWithTime>(gc_); in GCWorker()
29 gcThread_ = internalAllocator->New<Thread>(vm, Thread::ThreadType::THREAD_TYPE_GC); in GCWorker()
38 auto internalAllocator = gc_->GetInternalAllocator(); in ~GCWorker() local
39 internalAllocator->Delete(gcThread_); in ~GCWorker()
40 internalAllocator->Delete(gcTaskQueue_); in ~GCWorker()
/arkcompiler/runtime_core/static_core/compiler/
H A Dcompile_method.h32 explicit JITStats(mem::InternalAllocatorPtr internalAllocator) in JITStats() argument
33 : internalAllocator_(internalAllocator), statsList_(internalAllocator->Adapter()) in JITStats()
/arkcompiler/runtime_core/static_core/runtime/
H A Dcompiler_worker.h30 CompilerWorker(mem::InternalAllocatorPtr internalAllocator, Compiler *compiler) in CompilerWorker() argument
31 : internalAllocator_(internalAllocator), compiler_(compiler) in CompilerWorker()
H A Dcompiler_thread_pool_worker.cpp24 CompilerThreadPoolWorker::CompilerThreadPoolWorker(mem::InternalAllocatorPtr internalAllocator, Compiler *compiler, in CompilerThreadPoolWorker() argument
26 : CompilerWorker(internalAllocator, compiler) in CompilerThreadPoolWorker()
H A Dcompiler_task_manager_worker.cpp23 CompilerTaskManagerWorker::CompilerTaskManagerWorker(mem::InternalAllocatorPtr internalAllocator, Compiler *compiler) in CompilerTaskManagerWorker() argument
24 : CompilerWorker(internalAllocator, compiler) in CompilerTaskManagerWorker()
H A Dcompiler_task_manager_worker.h34 CompilerTaskManagerWorker(mem::InternalAllocatorPtr internalAllocator, Compiler *compiler);
H A Dcompiler_thread_pool_worker.h37 CompilerThreadPoolWorker(mem::InternalAllocatorPtr internalAllocator, Compiler *compiler, bool &noAsyncJit,
H A Druntime.cpp240 bool Runtime::CreateInstance(const RuntimeOptions &options, mem::InternalAllocatorPtr internalAllocator) in CreateInstance() argument
255 instance_ = new Runtime(options, internalAllocator); in CreateInstance()
336 mem::InternalAllocatorPtr internalAllocator = in Create() local
343 CreateInstance(options, internalAllocator); in Create()
524 Runtime::Runtime(const RuntimeOptions &options, mem::InternalAllocatorPtr internalAllocator) in Runtime() argument
525 : internalAllocator_(internalAllocator), in Runtime()
H A Dcompiler.h651 explicit Compiler(CodeAllocator *codeAllocator, mem::InternalAllocatorPtr internalAllocator, in Compiler() argument
655 internalAllocator_(internalAllocator), in Compiler()
/arkcompiler/runtime_core/static_core/runtime/mem/gc/g1/
H A Dupdate_remset_thread.cpp44 auto internalAllocator = this->GetGC()->GetInternalAllocator(); in CreateWorkerImpl() local
46 updateThread_ = internalAllocator->template New<std::thread>(&UpdateRemsetThread::ThreadLoop, this); in CreateWorkerImpl()
H A Dg1-gc.cpp134 auto internalAllocator = this->GetInternalAllocator(); in DoRegionCompacting() local
139 movedObjects = internalAllocator->template New<PandaVector<ObjectHeader *>>(); in DoRegionCompacting()
154 internalAllocator->template New<GCRegionCompactWorkersTask::RegionDataType>(region, movedObjectSaver); in DoRegionCompacting()
157 internalAllocator->Delete(storage); in DoRegionCompacting()
1485 auto internalAllocator = this->GetInternalAllocator(); in UpdateRefsAndClear() local
1490 internalAllocator->Delete(r); in UpdateRefsAndClear()
1494 internalAllocator->Delete(movedObjectsVector->back()); in UpdateRefsAndClear()
1498 internalAllocator->Delete(r); in UpdateRefsAndClear()
1512 auto internalAllocator = this->GetInternalAllocator(); in CollectAndMove() local
1522 auto vector = internalAllocator in CollectAndMove()
1615 auto internalAllocator = this->GetInternalAllocator(); UpdateRefsToMovedObjects() local
[all...]
/arkcompiler/runtime_core/static_core/runtime/tests/
H A Dg1gc_fullgc_test.cpp111 internalAllocator->Delete(gccnt); in ResetRuntime()
141 mem::InternalAllocatorPtr internalAllocator; member in ark::mem::test::G1GCFullGCTest
252 result.push_back(internalAllocator->New<VMHandle<ObjectHeader *>>(thread, obj));
282 internalAllocator->Delete(handle); in DeleteHandles()
296 internalAllocator = Runtime::GetCurrent()->GetClassLinker()->GetAllocator(); in PrepareTest()
300 gccnt = internalAllocator->New<GCCounter>(); in PrepareTest()
H A Dmem_stats_gen_gc_test.cpp158 internalAllocator->Delete(gccnt); in ResetRuntime()
208 mem::InternalAllocatorPtr internalAllocator; member in ark::mem::test::MemStatsGenGCTest
471 result.push_back(internalAllocator->New<VMHandle<ObjectHeader *>>(thread, obj));
501 internalAllocator->Delete(handle); in DeleteHandles()
515 internalAllocator = Runtime::GetCurrent()->GetClassLinker()->GetAllocator(); in PrepareTest()
519 gccnt = internalAllocator->New<GCCounter>(); in PrepareTest()
/arkcompiler/runtime_core/static_core/runtime/mem/gc/
H A Dcard_table.cpp26 CardTable::CardTable(InternalAllocatorPtr internalAllocator, uintptr_t minAddress, size_t size) in CardTable() argument
29 internalAllocator_(internalAllocator) in CardTable()
H A Dcard_table.h107 explicit CardTable(InternalAllocatorPtr internalAllocator, uintptr_t minAddress, size_t size);
/arkcompiler/runtime_core/static_core/runtime/core/
H A Dcore_vm.cpp31 static mem::MemoryManager *CreateMM(const LanguageContext &ctx, mem::InternalAllocatorPtr internalAllocator, in CreateMM() argument
50 return mem::MemoryManager::Create(ctx, internalAllocator, gcType, gcSettings, gcTriggerConfig, heapOptions); in CreateMM()
/arkcompiler/runtime_core/static_core/runtime/mem/gc/heap-space-misc/
H A Dcrossing_map.cpp25 CrossingMap::CrossingMap(InternalAllocatorPtr internalAllocator, uintptr_t startAddr, size_t size) in CrossingMap() argument
26 : startAddr_(startAddr), internalAllocator_(internalAllocator) in CrossingMap()
H A Dcrossing_map.h68 explicit CrossingMap(InternalAllocatorPtr internalAllocator, uintptr_t startAddr, size_t size);
/arkcompiler/runtime_core/static_core/runtime/include/
H A Druntime.h113 static bool CreateInstance(const RuntimeOptions &options, mem::InternalAllocatorPtr internalAllocator);
493 Runtime(const RuntimeOptions &options, mem::InternalAllocatorPtr internalAllocator);

Completed in 20 milliseconds