Searched defs:MemMap (Results 1 - 2 of 2) sorted by relevance
/art/runtime/ |
H A D | mem_map.h | 45 // We cannot ever perform MemMap::ReplaceWith on non-linux hosts since the syscall is not 52 // On 64b systems not supporting MAP_32BIT, the implementation of MemMap will do a linear scan 55 // For this to work, it is paramount that there are no other static initializers that access MemMap. 57 class MemMap { class in namespace:art 83 bool ReplaceWith(/*in-out*/MemMap** source, /*out*/std::string* error); 93 // On success, returns returns a MemMap instance. On failure, returns null. 94 static MemMap* MapAnonymous(const char* name, 107 static MemMap* MapDummy(const char* name, uint8_t* addr, size_t byte_count); 112 // On success, returns returns a MemMap instance. On failure, returns null. 113 static MemMap* MapFil [all...] |
H A D | mem_map.cc | 56 using Maps = AllocationTrackingMultiMap<void*, MemMap*, kAllocatorTagMaps>; 59 static Maps* gMaps GUARDED_BY(MemMap::GetMemMapsLock()) = nullptr; 77 os << "MemMap:" << std::endl; 80 MemMap* map = it->second; 87 std::mutex* MemMap::mem_maps_lock_ = nullptr; 144 uintptr_t MemMap::next_mem_pos_ = GenerateNextMemPos(); 149 bool MemMap::ContainedWithinExistingMap(uint8_t* ptr, size_t size, std::string* error_msg) { 158 MemMap* const map = pair.second; 293 MemMap* MemMap 610 MemMap::MemMap(const std::string& name, uint8_t* begin, size_t size, void* base_begin, function in class:art::MemMap [all...] |
Completed in 102 milliseconds