HomeSort by relevance Sort by last modified time
    Searched refs:MemoryAllocator (Results 1 - 5 of 5) sorted by null

  /external/v8/test/cctest/
test-spaces.cc 100 TEST(MemoryAllocator) {
102 CHECK(MemoryAllocator::Setup(Heap::MaxReserved()));
110 MemoryAllocator::AllocatePages(requested, &allocated, &faked_space);
117 CHECK(MemoryAllocator::IsPageInSpace(p, &faked_space));
123 MemoryAllocator::AllocatePages(requested, &allocated, &faked_space);
128 MemoryAllocator::SetNextPage(last_page, others);
131 CHECK(MemoryAllocator::IsPageInSpace(p, &faked_space));
143 Page* free_return = MemoryAllocator::FreePages(second_page);
145 MemoryAllocator::SetNextPage(first_page, free_return);
149 Page* invalid_page = MemoryAllocator::FreePages(first_page)
    [all...]
  /external/v8/src/
spaces-inl.h 59 return MemoryAllocator::GetNextPage(this);
64 PagedSpace* owner = MemoryAllocator::PageOwner(this);
149 // MemoryAllocator
151 bool MemoryAllocator::IsValidChunk(int chunk_id) {
159 bool MemoryAllocator::IsValidChunkId(int chunk_id) {
164 bool MemoryAllocator::IsPageInSpace(Page* p, PagedSpace* space) {
177 Page* MemoryAllocator::GetNextPage(Page* p) {
184 int MemoryAllocator::GetChunkId(Page* p) {
190 void MemoryAllocator::SetNextPage(Page* prev, Page* next) {
198 PagedSpace* MemoryAllocator::PageOwner(Page* page)
    [all...]
spaces.cc 271 // MemoryAllocator
273 int MemoryAllocator::capacity_ = 0;
274 int MemoryAllocator::size_ = 0;
276 VirtualMemory* MemoryAllocator::initial_chunk_ = NULL;
281 List<MemoryAllocator::ChunkInfo> MemoryAllocator::chunks_(
283 List<int> MemoryAllocator::free_chunk_ids_(kEstimatedNumberOfChunks);
284 int MemoryAllocator::max_nof_chunks_ = 0;
285 int MemoryAllocator::top_ = 0;
288 void MemoryAllocator::Push(int free_chunk_id)
    [all...]
spaces.h 89 class MemoryAllocator;
252 // and the chunk number (0 ~ 8K-1). Only MemoryAllocator should use
405 class MemoryAllocator : public AllStatic {
    [all...]
heap.cc 197 // Note that MemoryAllocator->MaxAvailable() undercounts the memory available
203 if (MemoryAllocator::MaxAvailable() <= new_space_.Size()) {
248 MemoryAllocator::Size(),
249 MemoryAllocator::Available());
    [all...]

Completed in 22 milliseconds