Home
last modified time | relevance | path

Searched refs:platform_allocator (Results 1 – 3 of 3) sorted by relevance

/third_party/node/deps/v8/src/heap/cppgc/
Dcaged-heap.cc30 VirtualMemory ReserveCagedHeap(PageAllocator& platform_allocator) { in ReserveCagedHeap() argument
32 kCagedHeapReservationSize % platform_allocator.AllocatePageSize()); in ReserveCagedHeap()
37 reinterpret_cast<uintptr_t>(platform_allocator.GetRandomMmapAddr()), in ReserveCagedHeap()
40 VirtualMemory memory(&platform_allocator, kCagedHeapReservationSize, in ReserveCagedHeap()
51 CagedHeap::CagedHeap(HeapBase& heap_base, PageAllocator& platform_allocator) in CagedHeap() argument
52 : reserved_area_(ReserveCagedHeap(platform_allocator)) { in CagedHeap()
55 const bool is_not_oom = platform_allocator.SetPermissions( in CagedHeap()
57 RoundUp(sizeof(CagedHeapLocalData), platform_allocator.CommitPageSize()), in CagedHeap()
63 CagedHeapLocalData(heap_base, platform_allocator); in CagedHeap()
74 &platform_allocator, caged_heap_start, in CagedHeap()
Dcaged-heap.h40 CagedHeap(HeapBase& heap, PageAllocator& platform_allocator);
/third_party/node/deps/v8/src/zone/
Daccounting-allocator.cc29 VirtualMemory ReserveAddressSpace(v8::PageAllocator* platform_allocator) { in ReserveAddressSpace() argument
31 platform_allocator->AllocatePageSize())); in ReserveAddressSpace()
34 reinterpret_cast<uintptr_t>(platform_allocator->GetRandomMmapAddr()), in ReserveAddressSpace()
37 VirtualMemory memory(platform_allocator, ZoneCompression::kReservationSize, in ReserveAddressSpace()
51 v8::PageAllocator* platform_allocator, Address reservation_start) { in CreateBoundedAllocator() argument
56 platform_allocator, reservation_start, ZoneCompression::kReservationSize, in CreateBoundedAllocator()