Home | History | Annotate | Download | only in heap

Lines Matching defs:memory_allocator

78   // Initialized Page has heap pointer, normally set by memory_allocator.
109 : isolate_(isolate), old_allocator_(isolate->heap()->memory_allocator()) {
130 old_code_range_(isolate->heap()->memory_allocator()->code_range()) {
131 isolate->heap()->memory_allocator()->code_range_ = code_range;
135 isolate_->heap()->memory_allocator()->code_range_ = old_code_range_;
153 MemoryAllocator* memory_allocator = new MemoryAllocator(isolate);
154 CHECK(memory_allocator->SetUp(heap->MaxReserved(), heap->MaxExecutableSize(),
157 TestMemoryAllocatorScope test_allocator_scope(isolate, memory_allocator);
166 MemoryChunk* memory_chunk = memory_allocator->AllocateChunk(
195 memory_allocator->Free<MemoryAllocator::kFull>(memory_chunk);
197 memory_allocator->TearDown();
198 delete memory_allocator;
205 MemoryAllocator* memory_allocator = new MemoryAllocator(isolate);
206 CHECK(memory_allocator->SetUp(heap->MaxReserved(), heap->MaxExecutableSize(),
208 TestMemoryAllocatorScope test_allocator_scope(isolate, memory_allocator);
234 memory_allocator->TearDown();
235 delete memory_allocator;
305 MemoryAllocator* memory_allocator = new MemoryAllocator(isolate);
306 CHECK(memory_allocator != nullptr);
307 CHECK(memory_allocator->SetUp(heap->MaxReserved(), heap->MaxExecutableSize(),
309 TestMemoryAllocatorScope test_scope(isolate, memory_allocator);
314 Page* first_page = memory_allocator->AllocatePage(
328 Page* other = memory_allocator->AllocatePage(
346 memory_allocator->TearDown();
347 delete memory_allocator;
354 MemoryAllocator* memory_allocator = new MemoryAllocator(isolate);
355 CHECK(memory_allocator->SetUp(heap->MaxReserved(), heap->MaxExecutableSize(),
357 TestMemoryAllocatorScope test_scope(isolate, memory_allocator);
373 memory_allocator->TearDown();
374 delete memory_allocator;
381 MemoryAllocator* memory_allocator = new MemoryAllocator(isolate);
382 CHECK(memory_allocator->SetUp(heap->MaxReserved(), heap->MaxExecutableSize(),
384 TestMemoryAllocatorScope test_scope(isolate, memory_allocator);
396 memory_allocator->TearDown();
397 delete memory_allocator;
404 MemoryAllocator* memory_allocator = new MemoryAllocator(isolate);
405 CHECK(memory_allocator != nullptr);
406 CHECK(memory_allocator->SetUp(heap->MaxReserved(), heap->MaxExecutableSize(),
408 TestMemoryAllocatorScope test_scope(isolate, memory_allocator);
442 memory_allocator->TearDown();
443 delete memory_allocator;