HomeSort by relevance Sort by last modified time
    Searched refs:mem_map (Results 1 - 25 of 30) sorted by null

1 2

  /art/runtime/gc/space/
zygote_space.cc 42 ZygoteSpace* ZygoteSpace::Create(const std::string& name, MemMap* mem_map,
50 live_bitmap->VisitMarkedRange(reinterpret_cast<uintptr_t>(mem_map->Begin()),
51 reinterpret_cast<uintptr_t>(mem_map->End()), visitor);
52 ZygoteSpace* zygote_space = new ZygoteSpace(name, mem_map, objects_allocated);
64 ZygoteSpace::ZygoteSpace(const std::string& name, MemMap* mem_map, size_t objects_allocated)
65 : ContinuousMemMapAllocSpace(name, mem_map, mem_map->Begin(), mem_map->End(), mem_map->End(),
bump_pointer_space.cc 31 std::unique_ptr<MemMap> mem_map(MemMap::MapAnonymous(name.c_str(), requested_begin, capacity,
33 if (mem_map.get() == nullptr) {
38 return new BumpPointerSpace(name, mem_map.release());
41 BumpPointerSpace* BumpPointerSpace::CreateFromMemMap(const std::string& name, MemMap* mem_map) {
42 return new BumpPointerSpace(name, mem_map);
55 BumpPointerSpace::BumpPointerSpace(const std::string& name, MemMap* mem_map)
56 : ContinuousMemMapAllocSpace(name, mem_map, mem_map->Begin(), mem_map->Begin(), mem_map->End()
    [all...]
malloc_space.cc 38 MallocSpace::MallocSpace(const std::string& name, MemMap* mem_map,
42 : ContinuousMemMapAllocSpace(name, mem_map, begin, end, limit, kGcRetentionPolicyAlwaysCollect),
49 CHECK(IsAligned<kGcCardSize>(reinterpret_cast<uintptr_t>(mem_map->Begin())));
50 CHECK(IsAligned<kGcCardSize>(reinterpret_cast<uintptr_t>(mem_map->End())));
92 MemMap* mem_map = MemMap::MapAnonymous(name.c_str(), requested_begin, *capacity, local
94 if (mem_map == nullptr) {
98 return mem_map;
191 std::unique_ptr<MemMap> mem_map(GetMemMap()->RemapAtEnd(End(), alloc_space_name,
193 CHECK(mem_map.get() != nullptr) << error_msg;
197 byte* end = mem_map->Begin() + starting_size_
    [all...]
zygote_space.h 22 #include "mem_map.h"
33 static ZygoteSpace* Create(const std::string& name, MemMap* mem_map,
86 ZygoteSpace(const std::string& name, MemMap* mem_map, size_t objects_allocated);
dlmalloc_space.cc 38 DlMallocSpace::DlMallocSpace(const std::string& name, MemMap* mem_map, void* mspace, byte* begin,
42 : MallocSpace(name, mem_map, begin, end, limit, growth_limit, true, can_move_objects,
48 DlMallocSpace* DlMallocSpace::CreateFromMemMap(MemMap* mem_map, const std::string& name,
52 DCHECK(mem_map != nullptr);
53 void* mspace = CreateMspace(mem_map->Begin(), starting_size, initial_size);
60 byte* end = mem_map->Begin() + starting_size;
66 byte* begin = mem_map->Begin();
69 name, mem_map, mspace, begin, end, begin + capacity, growth_limit, initial_size,
72 return new DlMallocSpace(name, mem_map, mspace, begin, end, begin + capacity, growth_limit,
95 MemMap* mem_map = CreateMemMap(name, starting_size, &initial_size, &growth_limit, &capacity local
    [all...]
rosalloc_space.cc 44 RosAllocSpace::RosAllocSpace(const std::string& name, MemMap* mem_map,
48 : MallocSpace(name, mem_map, begin, end, limit, growth_limit, true, can_move_objects,
54 RosAllocSpace* RosAllocSpace::CreateFromMemMap(MemMap* mem_map, const std::string& name,
58 DCHECK(mem_map != nullptr);
59 allocator::RosAlloc* rosalloc = CreateRosAlloc(mem_map->Begin(), starting_size, initial_size,
67 byte* end = mem_map->Begin() + starting_size;
73 byte* begin = mem_map->Begin();
79 return new RosAllocSpace(name, mem_map, rosalloc, begin, end, begin + capacity, growth_limit,
106 MemMap* mem_map = CreateMemMap(name, starting_size, &initial_size, &growth_limit, &capacity, local
108 if (mem_map == NULL)
    [all...]
large_object_space.cc 113 MemMap* mem_map = MemMap::MapAnonymous("large object space allocation", NULL, num_bytes, local
115 if (UNLIKELY(mem_map == NULL)) {
120 mirror::Object* obj = reinterpret_cast<mirror::Object*>(mem_map->Begin());
122 mem_maps_.Put(obj, mem_map);
123 size_t allocation_size = mem_map->Size();
178 MemMap* mem_map = it->second; local
179 callback(mem_map->Begin(), mem_map->End(), mem_map->Size(), arg);
288 MemMap* mem_map = MemMap::MapAnonymous(name.c_str(), requested_begin, size local
    [all...]
valgrind_malloc_space-inl.h 95 ValgrindMallocSpace<S, A>::ValgrindMallocSpace(const std::string& name, MemMap* mem_map,
100 S(name, mem_map, allocator, begin, end, limit, growth_limit, can_move_objects, starting_size,
102 VALGRIND_MAKE_MEM_UNDEFINED(mem_map->Begin() + initial_size, mem_map->Size() - initial_size);
dlmalloc_space.h 36 // Create a DlMallocSpace from an existing mem_map.
37 static DlMallocSpace* CreateFromMemMap(MemMap* mem_map, const std::string& name,
110 MallocSpace* CreateInstance(const std::string& name, MemMap* mem_map, void* allocator,
131 DlMallocSpace(const std::string& name, MemMap* mem_map, void* mspace, byte* begin, byte* end,
space.h 30 #include "mem_map.h"
372 MemMapSpace(const std::string& name, MemMap* mem_map, byte* begin, byte* end, byte* limit,
375 mem_map_(mem_map) {
428 ContinuousMemMapAllocSpace(const std::string& name, MemMap* mem_map, byte* begin,
430 : MemMapSpace(name, mem_map, begin, end, limit, gc_retention_policy) {
valgrind_malloc_space.h 49 ValgrindMallocSpace(const std::string& name, MemMap* mem_map, AllocatorType allocator,
bump_pointer_space.h 46 static BumpPointerSpace* CreateFromMemMap(const std::string& name, MemMap* mem_map);
161 BumpPointerSpace(const std::string& name, MemMap* mem_map);
malloc_space.h 117 virtual MallocSpace* CreateInstance(const std::string& name, MemMap* mem_map, void* allocator,
141 MallocSpace(const std::string& name, MemMap* mem_map, byte* begin, byte* end,
image_space.h 148 MemMap* mem_map, accounting::ContinuousSpaceBitmap* live_bitmap);
rosalloc_space.h 44 static RosAllocSpace* CreateFromMemMap(MemMap* mem_map, const std::string& name,
95 MallocSpace* CreateInstance(const std::string& name, MemMap* mem_map, void* allocator,
128 RosAllocSpace(const std::string& name, MemMap* mem_map, allocator::RosAlloc* rosalloc,
image_space.cc 44 MemMap* mem_map, accounting::ContinuousSpaceBitmap* live_bitmap)
45 : MemMapSpace(image_filename, mem_map, mem_map->Begin(), mem_map->End(), mem_map->End(),
    [all...]
  /art/runtime/gc/accounting/
card_table.cc 63 std::unique_ptr<MemMap> mem_map(
66 CHECK(mem_map.get() != NULL) << "couldn't allocate card table: " << error_msg;
71 byte* cardtable_begin = mem_map->Begin();
86 return new CardTable(mem_map.release(), biased_begin, offset);
89 CardTable::CardTable(MemMap* mem_map, byte* biased_begin, size_t offset)
90 : mem_map_(mem_map), biased_begin_(biased_begin), offset_(offset) {
space_bitmap.cc 20 #include "mem_map.h"
38 const std::string& name, MemMap* mem_map, byte* heap_begin, size_t heap_capacity) {
39 CHECK(mem_map != nullptr);
40 uword* bitmap_begin = reinterpret_cast<uword*>(mem_map->Begin());
42 return new SpaceBitmap(name, mem_map, bitmap_begin, bitmap_size, heap_begin);
46 SpaceBitmap<kAlignment>::SpaceBitmap(const std::string& name, MemMap* mem_map, uword* bitmap_begin,
48 : mem_map_(mem_map), bitmap_begin_(bitmap_begin), bitmap_size_(bitmap_size),
64 std::unique_ptr<MemMap> mem_map(MemMap::MapAnonymous(name.c_str(), nullptr, bitmap_size,
66 if (UNLIKELY(mem_map.get() == nullptr)) {
70 return CreateFromMemMap(name, mem_map.release(), heap_begin, heap_capacity)
    [all...]
space_bitmap.h 50 // Initialize a space bitmap using the provided mem_map as the live bits. Takes ownership of the
53 static SpaceBitmap* CreateFromMemMap(const std::string& name, MemMap* mem_map,
195 SpaceBitmap(const std::string& name, MemMap* mem_map, uword* bitmap_begin, size_t bitmap_size,