Lines Matching defs:memory
7 #include <memory>
37 VirtualMemory memory(platform_allocator, ZoneCompression::kReservationSize,
39 if (memory.IsReserved()) {
40 CHECK(IsAligned(memory.address(), ZoneCompression::kReservationAlignment));
41 return memory;
45 "Fatal process out of memory: Failed to reserve memory for compressed "
76 VirtualMemory memory = ReserveAddressSpace(platform_page_allocator);
77 reserved_area_ = std::make_unique<VirtualMemory>(std::move(memory));
87 void* memory;
90 memory = AllocatePages(bounded_page_allocator_.get(), nullptr, bytes,
94 memory = AllocWithRetry(bytes, zone_backing_malloc_);
96 if (memory == nullptr) return nullptr;
106 return new (memory) Segment(bytes);