Home
last modified time | relevance | path

Searched refs:internal_allocator_ (Results 1 – 13 of 13) sorted by relevance

/ark/runtime_core/runtime/mem/gc/
Dcard_table.cpp27 internal_allocator_(internal_allocator) in CardTable()
34 internal_allocator_->Free(cards_); in ~CardTable()
43 cards_ = static_cast<CardPtr>(internal_allocator_->Alloc(cards_count_)); in Initialize()
Dcrossing_map.cpp26 : start_addr_(start_addr), internal_allocator_(internal_allocator) in CrossingMap()
47 …static_array_ = static_cast<StaticArrayPtr>(internal_allocator_->Alloc(static_array_size_in_bytes)… in Initialize()
59 internal_allocator_->Free(element); in Destroy()
63 internal_allocator_->Free(static_array_); in Destroy()
261 void *mem = internal_allocator_->Alloc(static_map_size_in_bytes); in InitializeCrossingMapForMemory()
277 internal_allocator_->Free(GetStaticArrayElement(i)); in RemoveCrossingMapForMemory()
Dcard_table.h206 InternalAllocatorPtr internal_allocator_ {nullptr};
Dcrossing_map.h302 InternalAllocatorPtr internal_allocator_ {nullptr};
Dgc.h451 return internal_allocator_; in GetInternalAllocator()
764 InternalAllocatorPtr internal_allocator_ {nullptr};
Dgc.cpp54 internal_allocator_(InternalAllocator<>::GetInternalAllocatorFromRuntime()) in GC()
/ark/runtime_core/runtime/mem/refstorage/
Dreference_storage.cpp33 …: global_storage_(global_storage), internal_allocator_(allocator), ref_check_validate_(ref_check_v… in ReferenceStorage()
40 internal_allocator_->Delete(frame_allocator_); in ~ReferenceStorage()
43 internal_allocator_->Delete(local_storage_); in ~ReferenceStorage()
52 …local_storage_ = internal_allocator_->New<PandaVector<RefBlock *>>(internal_allocator_->Adapter()); in Init()
56 frame_allocator_ = internal_allocator_->New<StorageFrameAllocator>(); in Init()
Dreference_storage.h140 mem::InternalAllocatorPtr internal_allocator_; variable
/ark/runtime_core/runtime/mem/
Dmemory_manager.h135 : internal_allocator_(internal_allocator), in MemoryManager()
146 InternalAllocatorPtr internal_allocator_; variable
/ark/runtime_core/runtime/tests/
Dcard_table_test.cpp57 internal_allocator_ = thread_->GetVM()->GetHeapManager()->GetInternalAllocator(); in CardTableTest()
61 … card_table_ = std::make_unique<CardTable>(internal_allocator_, GetMinAddress(), GetPoolSize()); in CardTableTest()
112 InternalAllocatorPtr internal_allocator_ {nullptr}; member in panda::mem::test::CardTableTest
Dcrossing_map_test.cpp38internal_allocator_ = new InternalAllocatorT<InternalAllocatorConfig::PANDA_ALLOCATORS>(mem_stats_… in CrossingMapTest()
39 crossing_map_ = new CrossingMap(internal_allocator_, start_addr_, GetPoolSize()); in CrossingMapTest()
49 delete static_cast<Allocator *>(internal_allocator_); in ~CrossingMapTest()
120 InternalAllocatorPtr internal_allocator_ {nullptr}; member in panda::mem::CrossingMapTest
/ark/runtime_core/runtime/
Druntime.cpp373 : internal_allocator_(internal_allocator), in Runtime()
375 notification_manager_(new RuntimeNotificationManager(internal_allocator_)), in Runtime()
404 class_linker_ = new ClassLinker(internal_allocator_, std::move(extensions)); in Runtime()
406 signal_manager_ = new SignalManager(internal_allocator_); in Runtime()
438 internal_allocator_->Delete(dprofiler_); in ~Runtime()
443 internal_allocator_->Delete(pt_lang_ext_); in ~Runtime()
447 internal_allocator_->Delete(panda_vm_); in ~Runtime()
888 dprofiler_ = internal_allocator_->New<DProfiler>(app_name, Runtime::GetCurrent()); in StartDProfiler()
938 debugger_ = internal_allocator_->New<tooling::Debugger>(this); in AttachDebugger()
962 internal_allocator_->Delete(debugger_); in Shutdown()
/ark/runtime_core/runtime/include/
Druntime.h325 return internal_allocator_; in GetInternalAllocator()
373 mem::InternalAllocatorPtr internal_allocator_; variable