Home
last modified time | relevance | path

Searched refs:MallocSpace (Results 1 – 18 of 18) sorted by relevance

/art/runtime/gc/space/
Dmalloc_space.cc36 size_t MallocSpace::bitmap_index_ = 0;
38 MallocSpace::MallocSpace(const std::string& name, MemMap* mem_map, in MallocSpace() function in art::gc::space::MallocSpace
68 MemMap* MallocSpace::CreateMemMap(const std::string& name, size_t starting_size, size_t* initial_si… in CreateMemMap()
101 mirror::Class* MallocSpace::FindRecentFreedObject(const mirror::Object* obj) { in FindRecentFreedObject()
116 void MallocSpace::RegisterRecentFree(mirror::Object* ptr) { in RegisterRecentFree()
122 void MallocSpace::SetGrowthLimit(size_t growth_limit) { in SetGrowthLimit()
130 void* MallocSpace::MoreCore(intptr_t increment) { in MoreCore()
160 ZygoteSpace* MallocSpace::CreateZygoteSpace(const char* alloc_space_name, bool low_memory_mode, in CreateZygoteSpace()
161 MallocSpace** out_malloc_space) { in CreateZygoteSpace()
220 void MallocSpace::Dump(std::ostream& os) const { in Dump()
[all …]
Dmalloc_space.h48 class MallocSpace : public ContinuousMemMapAllocSpace {
117 virtual MallocSpace* CreateInstance(const std::string& name, MemMap* mem_map, void* allocator,
125 MallocSpace** out_malloc_space) NO_THREAD_SAFETY_ANALYSIS;
141 MallocSpace(const std::string& name, MemMap* mem_map, byte* begin, byte* end,
192 DISALLOW_COPY_AND_ASSIGN(MallocSpace);
Dspace-inl.h36 inline MallocSpace* Space::AsMallocSpace() { in AsMallocSpace()
39 return down_cast<MallocSpace*>(down_cast<MemMapSpace*>(this)); in AsMallocSpace()
Dspace_test.h63 mirror::Object* Alloc(space::MallocSpace* alloc_space, Thread* self, size_t bytes, in Alloc()
75 mirror::Object* AllocWithGrowth(space::MallocSpace* alloc_space, Thread* self, size_t bytes, in AllocWithGrowth()
112 …typedef MallocSpace* (*CreateSpaceFn)(const std::string& name, size_t initial_size, size_t growth_…
119 void SizeFootPrintGrowthLimitAndTrimBody(MallocSpace* space, intptr_t object_size,
173 MallocSpace* space(create_space("test", 4 * MB, 16 * MB, 16 * MB, nullptr)); in ZygoteSpaceTestBody()
276 MallocSpace* space(create_space("test", 4 * MB, 16 * MB, 16 * MB, nullptr)); in AllocAndFreeTestBody()
337 MallocSpace* space(create_space("test", 4 * MB, 16 * MB, 16 * MB, nullptr)); in AllocAndFreeListTestBody()
375 void SpaceTest::SizeFootPrintGrowthLimitAndTrimBody(MallocSpace* space, intptr_t object_size, in SizeFootPrintGrowthLimitAndTrimBody()
550 MallocSpace* space(create_space("test", initial_size, growth_limit, capacity, nullptr)); in SizeFootPrintGrowthLimitAndTrimDriver()
Ddlmalloc_space_static_test.cc25 MallocSpace* CreateDlMallocSpace(const std::string& name, size_t initial_size, size_t growth_limit, in CreateDlMallocSpace()
Ddlmalloc_space_base_test.cc26 MallocSpace* CreateDlMallocSpace(const std::string& name, size_t initial_size, size_t growth_limit, in CreateDlMallocSpace()
Ddlmalloc_space_random_test.cc25 MallocSpace* CreateDlMallocSpace(const std::string& name, size_t initial_size, size_t growth_limit, in CreateDlMallocSpace()
Drosalloc_space_random_test.cc23 MallocSpace* CreateRosAllocSpace(const std::string& name, size_t initial_size, size_t growth_limit, in CreateRosAllocSpace()
Drosalloc_space_base_test.cc23 MallocSpace* CreateRosAllocSpace(const std::string& name, size_t initial_size, size_t growth_limit, in CreateRosAllocSpace()
Drosalloc_space_static_test.cc23 MallocSpace* CreateRosAllocSpace(const std::string& name, size_t initial_size, size_t growth_limit, in CreateRosAllocSpace()
Ddlmalloc_space.h34 class DlMallocSpace : public MallocSpace {
110 MallocSpace* CreateInstance(const std::string& name, MemMap* mem_map, void* allocator,
Drosalloc_space.h35 class RosAllocSpace : public MallocSpace {
95 MallocSpace* CreateInstance(const std::string& name, MemMap* mem_map, void* allocator,
Dspace.h48 class MallocSpace; variable
111 MallocSpace* AsMallocSpace();
Ddlmalloc_space.cc42 : MallocSpace(name, mem_map, begin, end, limit, growth_limit, true, can_move_objects, in DlMallocSpace()
151 MallocSpace* DlMallocSpace::CreateInstance(const std::string& name, MemMap* mem_map, in CreateInstance()
Drosalloc_space.cc48 : MallocSpace(name, mem_map, begin, end, limit, growth_limit, true, can_move_objects, in RosAllocSpace()
166 MallocSpace* RosAllocSpace::CreateInstance(const std::string& name, MemMap* mem_map, void* allocato… in CreateInstance()
/art/runtime/gc/
Dheap.h86 class MallocSpace; variable
532 space::MallocSpace* GetNonMovingSpace() const { in GetNonMovingSpace()
543 space::MallocSpace* GetPrimaryFreeListSpace() { in GetPrimaryFreeListSpace()
548 return reinterpret_cast<space::MallocSpace*>(rosalloc_space_); in GetPrimaryFreeListSpace()
551 return reinterpret_cast<space::MallocSpace*>(dlmalloc_space_); in GetPrimaryFreeListSpace()
738 space::MallocSpace* CreateMallocSpaceFromMemMap(MemMap* mem_map, size_t initial_size,
787 space::MallocSpace* non_moving_space_;
797 space::MallocSpace* main_space_;
1026 std::unique_ptr<space::MallocSpace> main_space_backup_;
Dheap.cc447 space::MallocSpace* Heap::CreateMallocSpaceFromMemMap(MemMap* mem_map, size_t initial_size, in CreateMallocSpaceFromMemMap()
450 space::MallocSpace* malloc_space = nullptr; in CreateMallocSpaceFromMemMap()
1011 gc::space::MallocSpace* malloc_space = space->AsMallocSpace(); in Trim()
1572 space::MallocSpace* to_space = main_space_backup_.release(); in PerformHomogeneousSpaceCompact()
1573 space::MallocSpace* from_space = main_space_; in PerformHomogeneousSpaceCompact()
1967 space::MallocSpace* old_alloc_space = non_moving_space_; in PreZygoteFork()
2296 space::MallocSpace* space = ref_space->AsMallocSpace(); in VerifyReference()
/art/runtime/native/
Ddalvik_system_VMDebug.cc292 gc::space::MallocSpace* malloc_space = space->AsMallocSpace(); in VMDebug_getHeapSpaceStats()