Lines Matching refs:memory_allocator
74 // Initialized Page has heap pointer, normally set by memory_allocator.
155 MemoryAllocator* memory_allocator = new MemoryAllocator(isolate);
156 CHECK(memory_allocator->SetUp(heap->MaxReserved(),
158 TestMemoryAllocatorScope test_allocator_scope(isolate, memory_allocator);
168 MemoryChunk* memory_chunk = memory_allocator->AllocateChunk(reserve_area_size,
196 memory_allocator->Free(memory_chunk);
197 memory_allocator->TearDown();
198 delete memory_allocator;
271 MemoryAllocator* memory_allocator = new MemoryAllocator(isolate);
272 CHECK(memory_allocator->SetUp(heap->MaxReserved(),
280 Page* first_page = memory_allocator->AllocatePage(
293 Page* other = memory_allocator->AllocatePage(
307 memory_allocator->Free(first_page);
308 memory_allocator->Free(second_page);
309 memory_allocator->TearDown();
310 delete memory_allocator;
319 MemoryAllocator* memory_allocator = new MemoryAllocator(isolate);
320 CHECK(memory_allocator->SetUp(heap->MaxReserved(),
322 TestMemoryAllocatorScope test_scope(isolate, memory_allocator);
337 memory_allocator->TearDown();
338 delete memory_allocator;
347 MemoryAllocator* memory_allocator = new MemoryAllocator(isolate);
348 CHECK(memory_allocator->SetUp(heap->MaxReserved(),
350 TestMemoryAllocatorScope test_scope(isolate, memory_allocator);
366 memory_allocator->TearDown();
367 delete memory_allocator;