/arkcompiler/runtime_core/static_core/runtime/mem/gc/workers/ |
H A D | gc_workers_thread_pool.cpp | 42 : GCWorkersTaskPool(gc), internalAllocator_(gc->GetInternalAllocator()), threadsCount_(threadsCount) in GCWorkersThreadPool() 45 queue_ = internalAllocator_->New<GCWorkersQueueSimple>(internalAllocator_, QUEUE_SIZE_MAX_SIZE); in GCWorkersThreadPool() 46 workerIface_ = internalAllocator_->New<GCWorkersCreationInterface>(gc->GetPandaVm()); in GCWorkersThreadPool() 47 threadPool_ = internalAllocator_->New<ThreadPool<GCWorkersTask, GCWorkersProcessor, GCWorkersThreadPool *>>( in GCWorkersThreadPool() 48 internalAllocator_, queue_, this, threadsCount, "GC_WORKER", in GCWorkersThreadPool() 87 internalAllocator_->Delete(threadPool_); in ~GCWorkersThreadPool() 88 internalAllocator_->Delete(workerIface_); in ~GCWorkersThreadPool() 90 internalAllocator_->Delete(queue_); in ~GCWorkersThreadPool()
|
H A D | gc_workers_thread_pool.h | 159 mem::InternalAllocatorPtr internalAllocator_; member in ark::mem::final
|
/arkcompiler/runtime_core/static_core/runtime/ |
H A D | compiler_thread_pool_worker.cpp | 42 internalAllocator_->Delete(queue_); in ~CompilerThreadPoolWorker() 52 return internalAllocator_->New<CompilerQueueSimple>(internalAllocator_); in CreateJITTaskQueue() 55 return internalAllocator_->New<CompilerPriorityCounterQueue>(internalAllocator_, maxLength, taskLife); in CreateJITTaskQueue() 58 return internalAllocator_->New<CompilerPriorityAgedCounterQueue>(internalAllocator_, taskLife, deathCounter, in CreateJITTaskQueue()
|
H A D | compiler_task_manager_worker.cpp | 27 compilerTaskManagerQueue_ = tm->CreateAndRegisterTaskQueue<decltype(internalAllocator_->Adapter())>( in CompilerTaskManagerWorker() 62 auto threadDeleter = [this](Thread *thread) { internalAllocator_->Delete(thread); }; in BackgroundCompileMethod() 64 internalAllocator_->New<Thread>(ctx.GetVM(), Thread::ThreadType::THREAD_TYPE_COMPILER), in BackgroundCompileMethod() 67 auto taskDeleter = [this](CompilerTask *task) { internalAllocator_->Delete(task); }; in BackgroundCompileMethod() 69 internalAllocator_->New<CompilerTask>(std::move(ctx)), std::move(taskDeleter)); in BackgroundCompileMethod()
|
H A D | compiler_thread_pool_worker.h | 45 threadPool_ = internalAllocator_->New<ThreadPool<CompilerTask, CompilerProcessor, Compiler *>>( 46 internalAllocator_, queue_, compiler_, 1, "JIT Thread"); 53 internalAllocator_->Delete(threadPool_);
|
H A D | compiler_worker.h | 31 : internalAllocator_(internalAllocator), compiler_(compiler) in CompilerWorker() 74 mem::InternalAllocatorPtr internalAllocator_; // NOLINT(misc-non-private-member-variables-in-classes) member in ark::CompilerWorker
|
H A D | compiler.h | 655 internalAllocator_(internalAllocator), in Compiler() 666 internalAllocator_->New<CompilerThreadPoolWorker>(internalAllocator_, this, noAsyncJit_, options); in Compiler() 668 compilerWorker_ = internalAllocator_->New<CompilerTaskManagerWorker>(internalAllocator_, this); in Compiler() 672 jitStats_ = internalAllocator_->New<compiler::JITStats>(internalAllocator_); in Compiler() 702 internalAllocator_->Delete(compilerWorker_); 705 internalAllocator_->Delete(jitStats_); 761 return internalAllocator_; in GetInternalAllocator() 783 mem::InternalAllocatorPtr internalAllocator_; global() member in ark::Compiler [all...] |
H A D | runtime.cpp | 495 verifierService_ = ark::verifier::CreateService(verifierConfig_, internalAllocator_, classLinker_, cacheFile); in InitializeVerifierRuntime() 525 : internalAllocator_(internalAllocator), in Runtime() 526 notificationManager_(new RuntimeNotificationManager(internalAllocator_)), in Runtime() 547 classLinker_ = new ClassLinker(internalAllocator_, std::move(extensions)); in Runtime() 549 signalManager_ = new SignalManager(internalAllocator_); in Runtime() 572 relayoutProfiler_ = internalAllocator_->New<RelayoutProfiler>(); in Runtime() 595 internalAllocator_->Delete(dprofiler_); in ~Runtime() 600 internalAllocator_->Delete(pandaVm_); in ~Runtime() 608 internalAllocator_->Delete(relayoutProfiler_); in ~Runtime() 948 memAllocDumper_ = internalAllocator_ in StartMemAllocDumper() [all...] |
H A D | compiler_task_manager_worker.h | 61 ->UnregisterAndDestroyTaskQueue<decltype(internalAllocator_->Adapter())>(compilerTaskManagerQueue_);
|
/arkcompiler/runtime_core/static_core/compiler/ |
H A D | compile_method.h | 33 : internalAllocator_(internalAllocator), statsList_(internalAllocator->Adapter()) in JITStats() 57 mem::InternalAllocatorPtr internalAllocator_; member in ark::compiler::JITStats
|
H A D | compile_method.cpp | 50 statsList_.push_back(Entry {PandaString(methodName, internalAllocator_->Adapter()), isOsr, bcSize, codeSize, time}); in EndCompilationWithStats()
|
/arkcompiler/runtime_core/static_core/runtime/mem/gc/heap-space-misc/ |
H A D | crossing_map.cpp | 26 : startAddr_(startAddr), internalAllocator_(internalAllocator) in CrossingMap() 47 staticArray_ = static_cast<StaticArrayPtr>(internalAllocator_->Alloc(staticArraySizeInBytes)); in Initialize() 59 internalAllocator_->Free(element); in Destroy() 63 internalAllocator_->Free(staticArray_); in Destroy() 263 void *mem = internalAllocator_->Alloc(staticMapSizeInBytes); in InitializeCrossingMapForMemory() 278 internalAllocator_->Free(GetStaticArrayElement(i)); in RemoveCrossingMapForMemory()
|
H A D | crossing_map.h | 303 InternalAllocatorPtr internalAllocator_ {nullptr};
|
/arkcompiler/runtime_core/static_core/runtime/mem/refstorage/ |
H A D | reference_storage.cpp | 36 : globalStorage_(globalStorage), internalAllocator_(allocator), refCheckValidate_(refCheckValidate) in ReferenceStorage() 43 internalAllocator_->Delete(frameAllocator_); in ~ReferenceStorage() 46 internalAllocator_->Delete(localStorage_); in ~ReferenceStorage() 55 localStorage_ = internalAllocator_->New<PandaVector<RefBlock *>>(internalAllocator_->Adapter()); in Init() 59 frameAllocator_ = internalAllocator_->New<StorageFrameAllocator>(); in Init()
|
H A D | reference_storage.h | 129 mem::InternalAllocatorPtr internalAllocator_; member in ark::mem::ReferenceStorage
|
/arkcompiler/runtime_core/static_core/runtime/mem/gc/ |
H A D | card_table.cpp | 29 internalAllocator_(internalAllocator) in CardTable() 50 internalAllocator_->Free(cards_); in ~CardTable() 59 cards_ = static_cast<CardPtr>(internalAllocator_->Alloc(cardsCount_)); in Initialize()
|
H A D | gc.h | 309 return internalAllocator_; in GetInternalAllocator() 749 InternalAllocatorPtr internalAllocator_ {nullptr};
|
H A D | card_table.h | 298 InternalAllocatorPtr internalAllocator_ {nullptr};
|
H A D | gc.cpp | 56 internalAllocator_(InternalAllocator<>::GetInternalAllocatorFromRuntime()) in GC() 61 gcWorkersTaskQueue_ = tm->CreateAndRegisterTaskQueue<decltype(internalAllocator_->Adapter())>( in GC()
|
/arkcompiler/runtime_core/static_core/runtime/mem/ |
H A D | memory_manager.h | 133 : internalAllocator_(internalAllocator), in MemoryManager() 144 InternalAllocatorPtr internalAllocator_; member in ark::mem::MemoryManager
|
H A D | heap_manager.h | 230 return (codeAllocator_ != nullptr) && (internalAllocator_ != nullptr) && (objectAllocator_ != nullptr); in Initialize() 278 InternalAllocatorPtr internalAllocator_ = nullptr; member in ark::mem::HeapManager
|
H A D | heap_manager.cpp | 44 internalAllocator_ = internalAllocator; in Initialize() 321 return internalAllocator_; in GetInternalAllocator()
|
/arkcompiler/runtime_core/static_core/runtime/tests/ |
H A D | crossing_map_test.cpp | 40 internalAllocator_ = new InternalAllocatorT<InternalAllocatorConfig::PANDA_ALLOCATORS>(memStats_); in CrossingMapTest() 41 crossingMap_ = new CrossingMap(internalAllocator_, startAddr_, GetPoolSize()); in CrossingMapTest() 51 delete static_cast<Allocator *>(internalAllocator_); variable 126 InternalAllocatorPtr internalAllocator_; member in ark::mem::CrossingMapTest
|
H A D | card_table_test.cpp | 64 internalAllocator_ = thread_->GetVM()->GetHeapManager()->GetInternalAllocator(); in CardTableTest() 68 cardTable_ = std::make_unique<CardTable>(internalAllocator_, GetMinAddress(), GetPoolSize()); in CardTableTest() 161 InternalAllocatorPtr internalAllocator_; member in ark::mem::test::CardTableTest
|
/arkcompiler/runtime_core/static_core/runtime/include/ |
H A D | runtime.h | 419 return internalAllocator_; in GetInternalAllocator() 504 mem::InternalAllocatorPtr internalAllocator_; member in ark::Runtime
|