Home
last modified time | relevance | path

Searched refs:internalAllocator_ (Results 1 - 25 of 25) sorted by relevance

/arkcompiler/runtime_core/static_core/runtime/mem/gc/workers/
H A Dgc_workers_thread_pool.cpp42 : 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 Dgc_workers_thread_pool.h159 mem::InternalAllocatorPtr internalAllocator_; member in ark::mem::final
/arkcompiler/runtime_core/static_core/runtime/
H A Dcompiler_thread_pool_worker.cpp42 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 Dcompiler_task_manager_worker.cpp27 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 Dcompiler_thread_pool_worker.h45 threadPool_ = internalAllocator_->New<ThreadPool<CompilerTask, CompilerProcessor, Compiler *>>(
46 internalAllocator_, queue_, compiler_, 1, "JIT Thread");
53 internalAllocator_->Delete(threadPool_);
H A Dcompiler_worker.h31 : internalAllocator_(internalAllocator), compiler_(compiler) in CompilerWorker()
74 mem::InternalAllocatorPtr internalAllocator_; // NOLINT(misc-non-private-member-variables-in-classes) member in ark::CompilerWorker
H A Dcompiler.h655 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 Druntime.cpp495 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 Dcompiler_task_manager_worker.h61 ->UnregisterAndDestroyTaskQueue<decltype(internalAllocator_->Adapter())>(compilerTaskManagerQueue_);
/arkcompiler/runtime_core/static_core/compiler/
H A Dcompile_method.h33 : internalAllocator_(internalAllocator), statsList_(internalAllocator->Adapter()) in JITStats()
57 mem::InternalAllocatorPtr internalAllocator_; member in ark::compiler::JITStats
H A Dcompile_method.cpp50 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 Dcrossing_map.cpp26 : 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 Dcrossing_map.h303 InternalAllocatorPtr internalAllocator_ {nullptr};
/arkcompiler/runtime_core/static_core/runtime/mem/refstorage/
H A Dreference_storage.cpp36 : 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 Dreference_storage.h129 mem::InternalAllocatorPtr internalAllocator_; member in ark::mem::ReferenceStorage
/arkcompiler/runtime_core/static_core/runtime/mem/gc/
H A Dcard_table.cpp29 internalAllocator_(internalAllocator) in CardTable()
50 internalAllocator_->Free(cards_); in ~CardTable()
59 cards_ = static_cast<CardPtr>(internalAllocator_->Alloc(cardsCount_)); in Initialize()
H A Dgc.h309 return internalAllocator_; in GetInternalAllocator()
749 InternalAllocatorPtr internalAllocator_ {nullptr};
H A Dcard_table.h298 InternalAllocatorPtr internalAllocator_ {nullptr};
H A Dgc.cpp56 internalAllocator_(InternalAllocator<>::GetInternalAllocatorFromRuntime()) in GC()
61 gcWorkersTaskQueue_ = tm->CreateAndRegisterTaskQueue<decltype(internalAllocator_->Adapter())>( in GC()
/arkcompiler/runtime_core/static_core/runtime/mem/
H A Dmemory_manager.h133 : internalAllocator_(internalAllocator), in MemoryManager()
144 InternalAllocatorPtr internalAllocator_; member in ark::mem::MemoryManager
H A Dheap_manager.h230 return (codeAllocator_ != nullptr) && (internalAllocator_ != nullptr) && (objectAllocator_ != nullptr); in Initialize()
278 InternalAllocatorPtr internalAllocator_ = nullptr; member in ark::mem::HeapManager
H A Dheap_manager.cpp44 internalAllocator_ = internalAllocator; in Initialize()
321 return internalAllocator_; in GetInternalAllocator()
/arkcompiler/runtime_core/static_core/runtime/tests/
H A Dcrossing_map_test.cpp40 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 Dcard_table_test.cpp64 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 Druntime.h419 return internalAllocator_; in GetInternalAllocator()
504 mem::InternalAllocatorPtr internalAllocator_; member in ark::Runtime

Completed in 16 milliseconds