Home
last modified time | relevance | path

Searched refs:page_allocator_ (Results 1 – 15 of 15) sorted by relevance

/external/v8/src/utils/
Dallocation.cc45 page_allocator_ = V8::GetCurrentPlatform()->GetPageAllocator(); in PageAllocatorInitializer()
46 if (page_allocator_ == nullptr) { in PageAllocatorInitializer()
48 page_allocator_ = default_page_allocator.get(); in PageAllocatorInitializer()
52 page_allocator_); in PageAllocatorInitializer()
53 page_allocator_ = lsan_allocator.get(); in PageAllocatorInitializer()
57 PageAllocator* page_allocator() const { return page_allocator_; } in page_allocator()
60 page_allocator_ = allocator; in SetPageAllocatorForTesting()
64 PageAllocator* page_allocator_; member in v8::internal::__anon1d2883ea0111::PageAllocatorInitializer
217 : page_allocator_(page_allocator) { in VirtualMemory()
219 DCHECK(IsAligned(size, page_allocator_->CommitPageSize())); in VirtualMemory()
[all …]
Dallocation.h175 : page_allocator_(page_allocator), region_(address, size) { in VirtualMemory()
191 page_allocator_ = other.page_allocator_;
203 v8::PageAllocator* page_allocator() { return page_allocator_; } in page_allocator()
248 v8::PageAllocator* page_allocator_ = nullptr;
/external/v8/src/sanitizer/
Dlsan-page-allocator.cc18 : page_allocator_(page_allocator), in LsanPageAllocator()
19 allocate_page_size_(page_allocator_->AllocatePageSize()), in LsanPageAllocator()
20 commit_page_size_(page_allocator_->CommitPageSize()) { in LsanPageAllocator()
27 void* result = page_allocator_->AllocatePages(hint, size, alignment, access); in AllocatePages()
39 auto result = page_allocator_->AllocateSharedPages(size, original_address); in AllocateSharedPages()
49 return page_allocator_->CanAllocateSharedPages(); in CanAllocateSharedPages()
53 bool result = page_allocator_->FreePages(address, size); in FreePages()
64 bool result = page_allocator_->ReleasePages(address, size, new_size); in ReleasePages()
Dlsan-page-allocator.h27 return page_allocator_->SetRandomMmapSeed(seed); in SetRandomMmapSeed()
31 return page_allocator_->GetRandomMmapAddr(); in GetRandomMmapAddr()
48 return page_allocator_->SetPermissions(address, size, access); in SetPermissions()
52 v8::PageAllocator* const page_allocator_;
/external/v8/src/heap/cppgc/
Dvirtual-memory.cc15 : page_allocator_(page_allocator) { in VirtualMemory()
19 const size_t page_size = page_allocator_->AllocatePageSize(); in VirtualMemory()
30 page_allocator_->FreePages(start_, size_); in ~VirtualMemory()
35 : page_allocator_(std::move(other.page_allocator_)), in VirtualMemory()
43 page_allocator_ = std::move(other.page_allocator_); in operator =()
Dgc-info-table.cc46 : page_allocator_(page_allocator), in GCInfoTable()
47 table_(static_cast<decltype(table_)>(page_allocator_->AllocatePages( in GCInfoTable()
48 nullptr, MaxTableSize(), page_allocator_->AllocatePageSize(), in GCInfoTable()
56 page_allocator_->ReleasePages(const_cast<GCInfo*>(table_), MaxTableSize(), 0); in ~GCInfoTable()
61 page_allocator_->AllocatePageSize()); in MaxTableSize()
69 RoundUp(memory_wanted, page_allocator_->AllocatePageSize()) / kEntrySize; in InitialTableLimit()
81 CHECK_EQ(0u, new_committed_size % page_allocator_->AllocatePageSize()); in Resize()
87 CHECK(page_allocator_->SetPermissions(current_table_end, table_size_delta, in Resize()
93 CHECK(page_allocator_->SetPermissions(read_only_table_end_, read_only_delta, in Resize()
Dvirtual-memory.h52 PageAllocator* page_allocator_ = nullptr; variable
Dgc-info-table.h76 PageAllocator* page_allocator_; variable
/external/v8/src/base/
Dbounded-page-allocator.cc15 page_allocator_(page_allocator), in BoundedPageAllocator()
43 CHECK(page_allocator_->SetPermissions(reinterpret_cast<void*>(address), size, in AllocatePages()
57 CHECK(page_allocator_->SetPermissions(reinterpret_cast<void*>(address), size, in AllocatePagesAt()
77 CHECK(page_allocator_->SetPermissions(ptr, size, in ReserveForSharedMemoryMapping()
88 CHECK(page_allocator_->SetPermissions(raw_address, size, in FreePages()
122 return page_allocator_->SetPermissions(reinterpret_cast<void*>(free_address), in ReleasePages()
131 return page_allocator_->SetPermissions(address, size, access); in SetPermissions()
135 return page_allocator_->DiscardSystemPages(address, size); in DiscardSystemPages()
Dbounded-page-allocator.h51 page_allocator_->SetRandomMmapSeed(seed); in SetRandomMmapSeed()
55 return page_allocator_->GetRandomMmapAddr(); in GetRandomMmapAddr()
78 v8::PageAllocator* const page_allocator_; variable
Dpage-allocator.cc63 : page_allocator_(page_allocator), ptr_(ptr), size_(size) {} in SharedMemoryMapping()
64 ~SharedMemoryMapping() override { page_allocator_->FreePages(ptr_, size_); } in ~SharedMemoryMapping()
68 PageAllocator* page_allocator_; member in v8::base::SharedMemoryMapping
/external/v8/src/init/
Disolate-allocator.h43 v8::PageAllocator* page_allocator() const { return page_allocator_; } in page_allocator()
51 v8::PageAllocator* page_allocator_ = nullptr; variable
Disolate-allocator.cc21 page_allocator_ = GetPlatformPageAllocator(); in IsolateAllocator()
154 page_allocator_ = page_allocator_instance_.get(); in CommitPagesForIsolate()
/external/v8/src/libplatform/
Ddefault-platform.cc96 page_allocator_(std::make_unique<v8::base::PageAllocator>()) { in DefaultPlatform()
250 return page_allocator_.get(); in GetPageAllocator()
Ddefault-platform.h80 std::unique_ptr<PageAllocator> page_allocator_; in NON_EXPORTED_BASE() local