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

  /art/runtime/gc/accounting/
card_table.cc 57 UniquePtr<MemMap> mem_map(MemMap::MapAnonymous("card table", NULL,
59 CHECK(mem_map.get() != NULL) << "couldn't allocate card table";
64 byte* cardtable_begin = mem_map->Begin();
79 return new CardTable(mem_map.release(), biased_begin, offset);
82 CardTable::CardTable(MemMap* mem_map, byte* biased_begin, size_t offset)
83 : mem_map_(mem_map), biased_begin_(biased_begin), offset_(offset) {
space_bitmap.cc 53 SpaceBitmap* SpaceBitmap::CreateFromMemMap(const std::string& name, MemMap* mem_map,
55 CHECK(mem_map != nullptr);
56 word* bitmap_begin = reinterpret_cast<word*>(mem_map->Begin());
58 return new SpaceBitmap(name, mem_map, bitmap_begin, bitmap_size, heap_begin);
65 UniquePtr<MemMap> mem_map(MemMap::MapAnonymous(name.c_str(), NULL, bitmap_size, PROT_READ | PROT_WRITE));
66 if (mem_map.get() == NULL) {
70 return CreateFromMemMap(name, mem_map.release(), heap_begin, heap_capacity);
space_bitmap.h 23 #include "mem_map.h"
55 // Initialize a space bitmap using the provided mem_map as the live bits. Takes ownership of the
58 static SpaceBitmap* CreateFromMemMap(const std::string& name, MemMap* mem_map,
185 SpaceBitmap(const std::string& name, MemMap* mem_map, word* bitmap_begin, size_t bitmap_size,
187 : mem_map_(mem_map), bitmap_begin_(bitmap_begin), bitmap_size_(bitmap_size),
  /art/runtime/gc/space/
large_object_space.cc 59 MemMap* mem_map = MemMap::MapAnonymous("large object space allocation", NULL, num_bytes, local
61 if (mem_map == NULL) {
65 mirror::Object* obj = reinterpret_cast<mirror::Object*>(mem_map->Begin());
67 mem_maps_.Put(obj, mem_map);
68 size_t allocation_size = mem_map->Size();
112 MemMap* mem_map = it->second; local
113 callback(mem_map->Begin(), mem_map->End(), mem_map->Size(), arg);
131 MemMap* mem_map = MemMap::MapAnonymous(name.c_str(), requested_begin, size local
    [all...]
dlmalloc_space.cc 104 ValgrindDlMallocSpace(const std::string& name, MemMap* mem_map, void* mspace, byte* begin,
106 DlMallocSpace(name, mem_map, mspace, begin, end, growth_limit) {
107 VALGRIND_MAKE_MEM_UNDEFINED(mem_map->Begin() + initial_size, mem_map->Size() - initial_size);
119 DlMallocSpace::DlMallocSpace(const std::string& name, MemMap* mem_map, void* mspace, byte* begin,
121 : MemMapSpace(name, mem_map, end - begin, kGcRetentionPolicyAlwaysCollect),
131 CHECK(IsAligned<kGcCardSize>(reinterpret_cast<uintptr_t>(mem_map->Begin())));
132 CHECK(IsAligned<kGcCardSize>(reinterpret_cast<uintptr_t>(mem_map->End())));
187 UniquePtr<MemMap> mem_map(MemMap::MapAnonymous(name.c_str(), requested_begin, capacity,
189 if (mem_map.get() == NULL)
    [all...]
space.h 28 #include "mem_map.h"
270 MemMapSpace(const std::string& name, MemMap* mem_map, size_t initial_size,
273 mem_map->Begin(), mem_map->Begin() + initial_size),
274 mem_map_(mem_map) {
image_space.h 102 ImageSpace(const std::string& name, MemMap* mem_map, accounting::SpaceBitmap* live_bitmap);
image_space.cc 40 ImageSpace::ImageSpace(const std::string& name, MemMap* mem_map,
42 : MemMapSpace(name, mem_map, mem_map->Size(), kGcRetentionPolicyNeverCollect) {
dlmalloc_space.h 150 DlMallocSpace(const std::string& name, MemMap* mem_map, void* mspace, byte* begin, byte* end,
large_object_space.h 211 FreeListSpace(const std::string& name, MemMap* mem_map, byte* begin, byte* end);
  /external/kernel-headers/original/asm-generic/
memory_model.h 31 #define __pfn_to_page(pfn) (mem_map + ((pfn) - ARCH_PFN_OFFSET))
32 #define __page_to_pfn(page) ((unsigned long)((page) - mem_map) + \
51 * Note: section's mem_map is encorded to reflect its start_pfn.
52 * section[i].section_mem_map == mem_map's address - start_pfn;
  /art/runtime/
dex_file.cc 221 MemMap* mem_map) {
222 return OpenMemory(mem_map->Begin(),
223 mem_map->Size(),
226 mem_map);
262 MemMap* mem_map) {
264 UniquePtr<DexFile> dex_file(new DexFile(base, size, location, location_checksum, mem_map));
    [all...]
dex_file.h 29 #include "mem_map.h"
828 MemMap* mem_map);
835 MemMap* mem_map);
840 MemMap* mem_map)
845 mem_map_(mem_map),
    [all...]
Android.mk 77 mem_map.cc \
  /external/kernel-headers/original/linux/
mmzone.h 435 #define NODE_MEM_MAP(nid) mem_map
566 * We use the lower bits of the mem_map pointer to store
mm.h 526 extern struct page *mem_map;
    [all...]

Completed in 92 milliseconds