Searched refs:memory_allocator (Results 1 – 10 of 10) sorted by relevance
/external/v8/test/cctest/ |
D | test-spaces.cc | 157 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/ |
D | spaces.cc | 208 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 …]
|
D | gc-tracer.cc | 119 current_.start_memory_size = heap_->isolate()->memory_allocator()->Size(); in Start() 143 current_.end_memory_size = heap_->isolate()->memory_allocator()->Size(); in Stop()
|
D | heap.cc | 197 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 …]
|
D | spaces-inl.h | 299 return ObjectSizeFor(heap()->isolate()->memory_allocator()->Available()); in Available()
|
/external/v8/src/extensions/ |
D | statistics-extension.cc | 97 AddNumber(args.GetIsolate(), result, isolate->memory_allocator()->Size(), in GetCounters()
|
/external/v8/src/ |
D | isolate.h | 882 MemoryAllocator* memory_allocator() { in memory_allocator() function
|
D | serialize.cc | 1760 return isolate_->memory_allocator()->CodePageAreaSize(); in SpaceAreaSize()
|
D | api.cc | 6500 isolate->memory_allocator()->AddMemoryAllocationCallback( in AddMemoryAllocationCallback() 6507 isolate->memory_allocator()->RemoveMemoryAllocationCallback( in RemoveMemoryAllocationCallback()
|
D | jsregexp.cc | 1099 heap->isolate()->memory_allocator()->SizeExecutable() > in Assemble()
|