Home
last modified time | relevance | path

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

/external/v8/test/cctest/
Dtest-spaces.cc157 MemoryAllocator* memory_allocator = new MemoryAllocator(isolate); in VerifyMemoryChunk() local
158 CHECK(memory_allocator->SetUp(heap->MaxReserved(), in VerifyMemoryChunk()
160 TestMemoryAllocatorScope test_allocator_scope(isolate, memory_allocator); in VerifyMemoryChunk()
170 MemoryChunk* memory_chunk = memory_allocator->AllocateChunk(reserve_area_size, in VerifyMemoryChunk()
200 memory_allocator->Free(memory_chunk); in VerifyMemoryChunk()
201 memory_allocator->TearDown(); in VerifyMemoryChunk()
202 delete memory_allocator; in VerifyMemoryChunk()
209 MemoryAllocator* memory_allocator = new MemoryAllocator(isolate); in TEST() local
211 memory_allocator->SetUp(heap->MaxReserved(), heap->MaxExecutableSize())); in TEST()
212 TestMemoryAllocatorScope test_allocator_scope(isolate, memory_allocator); in TEST()
[all …]
/external/v8/src/heap/
Dspaces.cc208 if (!isolate_->memory_allocator()->CommitExecutableMemory( in AllocateRawMemory()
224 return isolate_->memory_allocator()->CommitMemory(start, length, EXECUTABLE); in CommitRawMemory()
494 if (!heap()->isolate()->memory_allocator()->CommitMemory(start, length, in CommitArea()
506 heap_->isolate()->memory_allocator()->ZapBlock(start, length); in CommitArea()
888 area_size_ = heap->isolate()->memory_allocator()->CodePageAreaSize(); in PagedSpace()
912 heap()->isolate()->memory_allocator()->Free(iterator.next()); in TearDown()
974 Page* p = heap()->isolate()->memory_allocator()->AllocatePage(size, this, in Expand()
1087 heap()->isolate()->memory_allocator()->Free(page); in ReleasePage()
1098 emergency_memory_ = heap()->isolate()->memory_allocator()->AllocateChunk( in CreateEmergencyMemory()
1108 heap()->isolate()->memory_allocator()->Free(page); in FreeEmergencyMemory()
[all …]
Dgc-tracer.cc119 current_.start_memory_size = heap_->isolate()->memory_allocator()->Size(); in Start()
143 current_.end_memory_size = heap_->isolate()->memory_allocator()->Size(); in Stop()
Dheap.cc197 return isolate()->memory_allocator()->SizeExecutable(); in CommittedMemoryExecutable()
275 if (isolate_->memory_allocator()->MaxAvailable() <= new_space_.Size()) { in SelectGarbageCollector()
318 isolate_->memory_allocator()->Size() / KB, in PrintShortHeapStatistics()
319 isolate_->memory_allocator()->Available() / KB); in PrintShortHeapStatistics()
4422 isolate_->memory_allocator()->ReportStatistics(); in ReportHeapStatistics()
4448 if (isolate_->memory_allocator()->IsOutsideAllocatedSpace(addr)) return false; in Contains()
4465 if (isolate_->memory_allocator()->IsOutsideAllocatedSpace(addr)) return false; in InSpace()
4948 *stats->memory_allocator_size = isolate()->memory_allocator()->Size(); in RecordStats()
4950 isolate()->memory_allocator()->Size() + in RecordStats()
4951 isolate()->memory_allocator()->Available(); in RecordStats()
[all …]
Dspaces-inl.h299 return ObjectSizeFor(heap()->isolate()->memory_allocator()->Available()); in Available()
/external/v8/src/extensions/
Dstatistics-extension.cc97 AddNumber(args.GetIsolate(), result, isolate->memory_allocator()->Size(), in GetCounters()
/external/v8/src/
Disolate.h882 MemoryAllocator* memory_allocator() { in memory_allocator() function
Dserialize.cc1760 return isolate_->memory_allocator()->CodePageAreaSize(); in SpaceAreaSize()
Dapi.cc6500 isolate->memory_allocator()->AddMemoryAllocationCallback( in AddMemoryAllocationCallback()
6507 isolate->memory_allocator()->RemoveMemoryAllocationCallback( in RemoveMemoryAllocationCallback()
Djsregexp.cc1099 heap->isolate()->memory_allocator()->SizeExecutable() > in Assemble()