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

1 2 3

  /art/runtime/
mem_map_test.cc 27 static byte* BaseBegin(MemMap* mem_map) {
30 static size_t BaseSize(MemMap* mem_map) {
39 MemMap* m0 = MemMap::MapAnonymous("MemMapTest_RemapAtEndTest_map0",
53 // Remap the latter half into a second MemMap.
54 MemMap* m1 = m0->RemapAtEnd(base0 + page_size,
89 MemMap::Init();
94 return MemMap::next_mem_pos_;
129 std::unique_ptr<MemMap> map(MemMap::MapAnonymous("MapAnonymousEmpty"
    [all...]
mem_map.h 48 // On 64b systems not supporting MAP_32BIT, the implementation of MemMap will do a linear scan
51 // For this to work, it is paramount that there are no other static initializers that access MemMap.
53 class MemMap {
62 // On success, returns returns a MemMap instance. On failure, returns a NULL;
63 static MemMap* MapAnonymous(const char* ashmem_name, byte* addr, size_t byte_count, int prot,
69 // On success, returns returns a MemMap instance. On failure, returns a NULL;
70 static MemMap* MapFile(size_t byte_count, int prot, int flags, int fd, off_t start,
81 // On success, returns returns a MemMap instance. On failure, returns a
83 static MemMap* MapFileAtAddress(byte* addr, size_t byte_count, int prot, int flags, int fd,
88 ~MemMap() LOCKS_EXCLUDED(Locks::mem_maps_lock_)
    [all...]
mem_map.cc 62 std::ostream& operator<<(std::ostream& os, const MemMap::Maps& mem_maps) {
63 os << "MemMap:" << std::endl;
66 MemMap* map = it->second;
73 MemMap::Maps* MemMap::maps_ = nullptr;
130 uintptr_t MemMap::next_mem_pos_ = GenerateNextMemPos();
239 MemMap* MemMap::MapAnonymous(const char* name, byte* expected_ptr, size_t byte_count, int prot,
242 return new MemMap(name, nullptr, 0, nullptr, 0, prot, false);
382 return new MemMap(name, reinterpret_cast<byte*>(actual), byte_count, actual
    [all...]
zip_archive.h 35 class MemMap;
40 MemMap* ExtractToMemMap(const char* zip_filename, const char* entry_filename,
zip_archive.cc 53 MemMap* ZipEntry::ExtractToMemMap(const char* zip_filename, const char* entry_filename,
58 std::unique_ptr<MemMap> map(MemMap::MapAnonymous(name.c_str(),
elf_file.h 119 bool SetMap(MemMap* map, std::string* error_msg);
177 std::unique_ptr<MemMap> map_;
179 std::vector<MemMap*> segments_;
  /art/patchoat/
patchoat.h 64 PatchOat(InstructionSet isa, MemMap* image, gc::accounting::ContinuousSpaceBitmap* bitmap,
65 MemMap* heap, off_t delta, TimingLogger* timings)
68 PatchOat(InstructionSet isa, ElfFile* oat_file, MemMap* image,
69 gc::accounting::ContinuousSpaceBitmap* bitmap, MemMap* heap, off_t delta,
144 const MemMap* image_;
148 const MemMap* heap_;
  /art/runtime/gc/space/
zygote_space.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);
space.h 359 MemMap* GetMemMap() {
363 const MemMap* GetMemMap() const {
367 MemMap* ReleaseMemMap() {
372 MemMapSpace(const std::string& name, MemMap* mem_map, byte* begin, byte* end, byte* limit,
379 std::unique_ptr<MemMap> mem_map_;
428 ContinuousMemMapAllocSpace(const std::string& name, MemMap* mem_map, byte* begin,
large_object_space.h 135 typedef SafeMap<mirror::Object*, MemMap*, std::less<mirror::Object*>,
136 TrackingAllocator<std::pair<mirror::Object*, MemMap*>, kAllocatorTagLOSMaps>> MemMaps;
156 FreeListSpace(const std::string& name, MemMap* mem_map, byte* begin, byte* end);
182 std::unique_ptr<MemMap> mem_map_;
184 std::unique_ptr<MemMap> allocation_info_map_;
dlmalloc_space.h 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,
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,
145 static MemMap* CreateMemMap(const std::string& name, size_t starting_size, size_t* initial_size,
valgrind_malloc_space.h 49 ValgrindMallocSpace(const std::string& name, MemMap* mem_map, AllocatorType allocator,
malloc_space.cc 38 MallocSpace::MallocSpace(const std::string& name, MemMap* mem_map,
68 MemMap* MallocSpace::CreateMemMap(const std::string& name, size_t starting_size, size_t* initial_size,
92 MemMap* mem_map = MemMap::MapAnonymous(name.c_str(), requested_begin, *capacity,
191 std::unique_ptr<MemMap> mem_map(GetMemMap()->RemapAtEnd(End(), alloc_space_name,
bump_pointer_space.h 46 static BumpPointerSpace* CreateFromMemMap(const std::string& name, MemMap* mem_map);
161 BumpPointerSpace(const std::string& name, MemMap* mem_map);
zygote_space.cc 42 ZygoteSpace* ZygoteSpace::Create(const std::string& name, MemMap* mem_map,
64 ZygoteSpace::ZygoteSpace(const std::string& name, MemMap* mem_map, size_t objects_allocated)
bump_pointer_space.cc 31 std::unique_ptr<MemMap> mem_map(MemMap::MapAnonymous(name.c_str(), requested_begin, capacity,
41 BumpPointerSpace* BumpPointerSpace::CreateFromMemMap(const std::string& name, MemMap* mem_map) {
55 BumpPointerSpace::BumpPointerSpace(const std::string& name, MemMap* mem_map)
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,
large_object_space.cc 113 MemMap* mem_map = MemMap::MapAnonymous("large object space allocation", NULL, num_bytes,
178 MemMap* mem_map = it->second;
288 MemMap* mem_map = MemMap::MapAnonymous(name.c_str(), requested_begin, size,
294 FreeListSpace::FreeListSpace(const std::string& name, MemMap* mem_map, byte* begin, byte* end)
303 allocation_info_map_.reset(MemMap::MapAnonymous("large object free list space allocation info map",
  /art/runtime/gc/accounting/
card_table.cc 63 std::unique_ptr<MemMap> mem_map(
64 MemMap::MapAnonymous("card table", nullptr, capacity + 256, PROT_READ | PROT_WRITE,
89 CardTable::CardTable(MemMap* mem_map, byte* biased_begin, size_t offset)
card_table.h 129 CardTable(MemMap* begin, byte* biased_begin, size_t offset);
144 std::unique_ptr<MemMap> mem_map_;
space_bitmap.h 35 class MemMap;
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,
214 std::unique_ptr<MemMap> mem_map_;
space_bitmap.cc 38 const std::string& name, MemMap* mem_map, byte* heap_begin, size_t heap_capacity) {
46 SpaceBitmap<kAlignment>::SpaceBitmap(const std::string& name, MemMap* mem_map, uword* bitmap_begin,
64 std::unique_ptr<MemMap> mem_map(MemMap::MapAnonymous(name.c_str(), nullptr, bitmap_size,
  /art/compiler/
common_compiler_test.h 86 std::unique_ptr<MemMap> image_reservation_;

Completed in 629 milliseconds

1 2 3