Lines Matching defs:MemoryAllocator
274 // MemoryAllocator
277 MemoryAllocator::MemoryAllocator(Isolate* isolate)
288 bool MemoryAllocator::SetUp(intptr_t capacity, intptr_t capacity_executable) {
300 void MemoryAllocator::TearDown() {
301 // Check that spaces were torn down before MemoryAllocator.
310 bool MemoryAllocator::CommitMemory(Address base,
321 void MemoryAllocator::FreeMemory(VirtualMemory* reservation,
343 void MemoryAllocator::FreeMemory(Address base,
368 Address MemoryAllocator::ReserveAlignedMemory(size_t size,
382 Address MemoryAllocator::AllocateAlignedMemory(size_t reserve_size,
515 MemoryAllocator::CodePageGuardSize() : 0;
593 MemoryChunk* MemoryAllocator::AllocateChunk(intptr_t reserve_area_size,
643 StringEvent("MemoryAllocator::AllocateRawMemory",
735 Page* MemoryAllocator::AllocatePage(intptr_t size,
746 LargePage* MemoryAllocator::AllocateLargePage(intptr_t object_size,
758 void MemoryAllocator::Free(MemoryChunk* chunk) {
783 bool MemoryAllocator::CommitBlock(Address start,
797 bool MemoryAllocator::UncommitBlock(Address start, size_t size) {
804 void MemoryAllocator::ZapBlock(Address start, size_t size) {
811 void MemoryAllocator::PerformAllocationCallback(ObjectSpace space,
824 bool MemoryAllocator::MemoryAllocationCallbackRegistered(
833 void MemoryAllocator::AddMemoryAllocationCallback(
839 ASSERT(!MemoryAllocator::MemoryAllocationCallbackRegistered(callback));
844 void MemoryAllocator::RemoveMemoryAllocationCallback(
858 void MemoryAllocator::ReportStatistics() {
868 int MemoryAllocator::CodePageGuardStartOffset() {
875 int MemoryAllocator::CodePageGuardSize() {
880 int MemoryAllocator::CodePageAreaStartOffset() {
887 int MemoryAllocator::CodePageAreaEndOffset() {
894 bool MemoryAllocator::CommitExecutableMemory(VirtualMemory* vm,
1638 MemoryAllocator* allocator = heap()->isolate()->memory_allocator();