Home
last modified time | relevance | path

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

/art/runtime/gc/space/
Ddlmalloc_space.cc49 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 …]
Dspace_test.cc32 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 …]
Ddlmalloc_space.h33 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);
Dspace-inl.h34 inline DlMallocSpace* Space::AsDlMallocSpace() { in AsDlMallocSpace()
36 return down_cast<DlMallocSpace*>(down_cast<MemMapSpace*>(this)); in AsDlMallocSpace()
Ddlmalloc_space-inl.h26 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()
Dlarge_object_space.h41 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_);
Dspace.h45 class DlMallocSpace; variable
109 DlMallocSpace* AsDlMallocSpace();
Dlarge_object_space.cc109 void LargeObjectMapSpace::Walk(DlMallocSpace::WalkCallback callback, void* arg) { in Walk()
148 void FreeListSpace::Walk(DlMallocSpace::WalkCallback callback, void* arg) { in Walk()
/art/runtime/gc/
Dheap.h65 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_;
Dheap.cc165 …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/
Ddalvik_system_VMDebug.cc270 gc::space::DlMallocSpace* dlmalloc_space = space->AsDlMallocSpace(); in VMDebug_getHeapSpaceStats()
275 gc::space::DlMallocSpace* dlmalloc_space = space->AsDlMallocSpace(); in VMDebug_getHeapSpaceStats()
Ddalvik_system_VMRuntime.cc172 gc::space::DlMallocSpace* alloc_space = heap->GetAllocSpace(); in VMRuntime_trimHeap()
/art/runtime/gc/collector/
Dmark_sweep.cc603 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()