/art/runtime/gc/space/ |
D | dlmalloc_space.cc | 49 class ValgrindDlMallocSpace : public DlMallocSpace { 52 void* obj_with_rdz = DlMallocSpace::AllocWithGrowth(self, num_bytes + 2 * kValgrindRedZoneBytes, in AllocWithGrowth() 66 void* obj_with_rdz = DlMallocSpace::Alloc(self, num_bytes + 2 * kValgrindRedZoneBytes, in Alloc() 80 size_t result = DlMallocSpace::AllocationSize(reinterpret_cast<const mirror::Object*>( in AllocationSize() 89 size_t allocation_size = DlMallocSpace::AllocationSize( in Free() 92 size_t freed = DlMallocSpace::Free(self, reinterpret_cast<mirror::Object*>(obj_with_rdz)); in Free() 106 DlMallocSpace(name, mem_map, mspace, begin, end, growth_limit) { in ValgrindDlMallocSpace() 117 size_t DlMallocSpace::bitmap_index_ = 0; 119 DlMallocSpace::DlMallocSpace(const std::string& name, MemMap* mem_map, void* mspace, byte* begin, in DlMallocSpace() function in art::gc::space::DlMallocSpace 149 DlMallocSpace* DlMallocSpace::Create(const std::string& name, size_t initial_size, size_t in Create() [all …]
|
D | space_test.cc | 32 void SizeFootPrintGrowthLimitAndTrimBody(DlMallocSpace* space, intptr_t object_size, 49 UniquePtr<Space> space(DlMallocSpace::Create("test", 16 * MB, 32 * MB, 32 * MB, NULL)); in TEST_F() 54 UniquePtr<Space> space(DlMallocSpace::Create("test", 16 * MB, 16 * MB, 16 * MB, NULL)); in TEST_F() 59 UniquePtr<Space> space(DlMallocSpace::Create("test", 32 * MB, 16 * MB, 16 * MB, NULL)); in TEST_F() 64 UniquePtr<Space> space(DlMallocSpace::Create("test", 16 * MB, 16 * MB, 32 * MB, NULL)); in TEST_F() 69 UniquePtr<Space> space(DlMallocSpace::Create("test", 16 * MB, 8 * MB, 32 * MB, NULL)); in TEST_F() 74 UniquePtr<Space> space(DlMallocSpace::Create("test", 8 * MB, 16 * MB, 32 * MB, NULL)); in TEST_F() 79 UniquePtr<Space> space(DlMallocSpace::Create("test", 8 * MB, 32 * MB, 16 * MB, NULL)); in TEST_F() 90 DlMallocSpace* space(DlMallocSpace::Create("test", 4 * MB, 16 * MB, 16 * MB, NULL)); in TEST_F() 162 DlMallocSpace* space(DlMallocSpace::Create("test", 4 * MB, 16 * MB, 16 * MB, NULL)); in TEST_F() [all …]
|
D | dlmalloc_space.h | 33 class DlMallocSpace : public MemMapSpace, public AllocSpace { 49 static DlMallocSpace* Create(const std::string& name, size_t initial_size, size_t growth_limit, 128 DlMallocSpace* CreateZygoteSpace(const char* alloc_space_name); 150 DlMallocSpace(const std::string& name, MemMap* mem_map, void* mspace, byte* begin, byte* end, 199 DISALLOW_COPY_AND_ASSIGN(DlMallocSpace);
|
D | space-inl.h | 34 inline DlMallocSpace* Space::AsDlMallocSpace() { in AsDlMallocSpace() 36 return down_cast<DlMallocSpace*>(down_cast<MemMapSpace*>(this)); in AsDlMallocSpace()
|
D | dlmalloc_space-inl.h | 26 inline mirror::Object* DlMallocSpace::AllocNonvirtual(Thread* self, size_t num_bytes, in AllocNonvirtual() 40 inline mirror::Object* DlMallocSpace::AllocWithoutGrowthLocked(size_t num_bytes, size_t* bytes_allo… in AllocWithoutGrowthLocked()
|
D | large_object_space.h | 41 virtual void Walk(DlMallocSpace::WalkCallback, void* arg) = 0; 88 void Walk(DlMallocSpace::WalkCallback, void* arg) LOCKS_EXCLUDED(lock_); 115 void Walk(DlMallocSpace::WalkCallback callback, void* arg) LOCKS_EXCLUDED(lock_);
|
D | space.h | 45 class DlMallocSpace; variable 109 DlMallocSpace* AsDlMallocSpace();
|
D | large_object_space.cc | 109 void LargeObjectMapSpace::Walk(DlMallocSpace::WalkCallback callback, void* arg) { in Walk() 148 void FreeListSpace::Walk(DlMallocSpace::WalkCallback callback, void* arg) { in Walk()
|
/art/runtime/gc/ |
D | heap.h | 65 class DlMallocSpace; variable 383 space::DlMallocSpace* GetAllocSpace() const { in GetAllocSpace() 451 …mirror::Object* TryToAllocate(Thread* self, space::DlMallocSpace* space, size_t alloc_size, bool g… 517 space::DlMallocSpace* alloc_space_;
|
D | heap.cc | 165 …alloc_space_ = space::DlMallocSpace::Create(Runtime::Current()->IsZygote() ? "zygote space" : "all… in Heap() 839 inline mirror::Object* Heap::TryToAllocate(Thread* self, space::DlMallocSpace* space, size_t alloc_… in TryToAllocate() 1151 space::DlMallocSpace* zygote_space = alloc_space_; in PreZygoteFork() 1397 space::DlMallocSpace* space = ref_space->AsDlMallocSpace(); in operator ()()
|
/art/runtime/native/ |
D | dalvik_system_VMDebug.cc | 270 gc::space::DlMallocSpace* dlmalloc_space = space->AsDlMallocSpace(); in VMDebug_getHeapSpaceStats() 275 gc::space::DlMallocSpace* dlmalloc_space = space->AsDlMallocSpace(); in VMDebug_getHeapSpaceStats()
|
D | dalvik_system_VMRuntime.cc | 172 gc::space::DlMallocSpace* alloc_space = heap->GetAllocSpace(); in VMRuntime_trimHeap()
|
/art/runtime/gc/collector/ |
D | mark_sweep.cc | 603 space::DlMallocSpace* alloc_space = space->AsDlMallocSpace(); in BindLiveToMarkBitmap() 1144 space::DlMallocSpace* space = heap_->GetAllocSpace(); in SweepArray() 1606 space::DlMallocSpace* alloc_space = space->AsDlMallocSpace(); in UnBindBitmaps()
|