Searched refs:internal_allocator_ (Results 1 – 13 of 13) sorted by relevance
/ark/runtime_core/runtime/mem/gc/ |
D | card_table.cpp | 27 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()
|
D | crossing_map.cpp | 26 : 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()
|
D | card_table.h | 206 InternalAllocatorPtr internal_allocator_ {nullptr};
|
D | crossing_map.h | 302 InternalAllocatorPtr internal_allocator_ {nullptr};
|
D | gc.h | 451 return internal_allocator_; in GetInternalAllocator() 764 InternalAllocatorPtr internal_allocator_ {nullptr};
|
D | gc.cpp | 54 internal_allocator_(InternalAllocator<>::GetInternalAllocatorFromRuntime()) in GC()
|
/ark/runtime_core/runtime/mem/refstorage/ |
D | reference_storage.cpp | 33 …: 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()
|
D | reference_storage.h | 140 mem::InternalAllocatorPtr internal_allocator_; variable
|
/ark/runtime_core/runtime/mem/ |
D | memory_manager.h | 135 : internal_allocator_(internal_allocator), in MemoryManager() 146 InternalAllocatorPtr internal_allocator_; variable
|
/ark/runtime_core/runtime/tests/ |
D | card_table_test.cpp | 57 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
|
D | crossing_map_test.cpp | 38 …internal_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/ |
D | runtime.cpp | 373 : 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/ |
D | runtime.h | 325 return internal_allocator_; in GetInternalAllocator() 373 mem::InternalAllocatorPtr internal_allocator_; variable
|