Home
last modified time | relevance | path

Searched refs:memory_allocator (Results 1 – 9 of 9) sorted by relevance

/external/v8/test/cctest/
Dtest-spaces.cc134 MemoryAllocator* memory_allocator = new MemoryAllocator(isolate); in TEST() local
135 CHECK(memory_allocator->SetUp(heap->MaxReserved(), in TEST()
144 memory_allocator->AllocatePage(&faked_space, NOT_EXECUTABLE); in TEST()
157 memory_allocator->AllocatePage(&faked_space, NOT_EXECUTABLE); in TEST()
170 memory_allocator->Free(first_page); in TEST()
171 memory_allocator->Free(second_page); in TEST()
172 memory_allocator->TearDown(); in TEST()
173 delete memory_allocator; in TEST()
183 MemoryAllocator* memory_allocator = new MemoryAllocator(isolate); in TEST() local
184 CHECK(memory_allocator->SetUp(heap->MaxReserved(), in TEST()
[all …]
/external/v8/src/
Dspaces.cc786 area_size_ = heap->isolate()->memory_allocator()-> in PagedSpace()
815 heap()->isolate()->memory_allocator()->Free(iterator.next()); in TearDown()
858 Page* p = heap()->isolate()->memory_allocator()-> in Expand()
907 heap()->isolate()->memory_allocator()->Free(page); in ReleasePage()
1018 heap()->isolate()->memory_allocator()->ReserveAlignedMemory( in SetUp()
1084 heap()->isolate()->memory_allocator()->FreeMemory(&reservation_, in TearDown()
1317 if (!heap()->isolate()->memory_allocator()->CommitBlock(start, in Commit()
1340 if (!heap()->isolate()->memory_allocator()->UncommitBlock(start, capacity_)) { in Uncommit()
1366 if (!heap()->isolate()->memory_allocator()->CommitBlock( in GrowTo()
1402 MemoryAllocator* allocator = heap()->isolate()->memory_allocator(); in ShrinkTo()
[all …]
Dspaces-inl.h317 return ObjectSizeFor(heap()->isolate()->memory_allocator()->Available()); in Available()
Dheap.cc210 return isolate()->memory_allocator()->SizeExecutable(); in CommittedMemoryExecutable()
277 if (isolate_->memory_allocator()->MaxAvailable() <= new_space_.Size()) { in SelectGarbageCollector()
318 isolate_->memory_allocator()->Size(), in PrintShortHeapStatistics()
319 isolate_->memory_allocator()->Available()); in PrintShortHeapStatistics()
5033 isolate_->memory_allocator()->ReportStatistics(); in ReportHeapStatistics()
5645 *stats->memory_allocator_size = isolate()->memory_allocator()->Size(); in RecordStats()
5647 isolate()->memory_allocator()->Size() + in RecordStats()
5648 isolate()->memory_allocator()->Available(); in RecordStats()
5650 isolate()->memory_allocator()->Available(); in RecordStats()
5889 if (!isolate_->memory_allocator()->SetUp(MaxReserved(), MaxExecutableSize())) in SetUp()
[all …]
Ddeoptimizer.cc55 Isolate::Current()->memory_allocator()->Free( in ~DeoptimizerData()
60 Isolate::Current()->memory_allocator()->Free( in ~DeoptimizerData()
1162 Isolate::Current()->memory_allocator()->AllocateChunk(desc.instr_size, in CreateCode()
Disolate.h816 MemoryAllocator* memory_allocator() { in memory_allocator() function
Dserialize.cc1701 return isolate_->memory_allocator()->CodePageAreaSize(); in SpaceAreaSize()
Dapi.cc5258 isolate->memory_allocator()->AddMemoryAllocationCallback( in AddMemoryAllocationCallback()
5266 isolate->memory_allocator()->RemoveMemoryAllocationCallback( in RemoveMemoryAllocationCallback()
Djsregexp.cc884 heap->isolate()->memory_allocator()->SizeExecutable() > in Assemble()