Home | History | Annotate | Download | only in cctest

Lines Matching refs:MemoryAllocator

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);
152 MemoryAllocator::TearDown();
158 CHECK(MemoryAllocator::Setup(Heap::MaxReserved()));
163 MemoryAllocator::ReserveInitialChunk(4 * Heap::ReservedSemiSpaceSize());
177 MemoryAllocator::TearDown();
183 CHECK(MemoryAllocator::Setup(Heap::MaxReserved()));
191 MemoryAllocator::ReserveInitialChunk(4 * Heap::ReservedSemiSpaceSize());
205 MemoryAllocator::TearDown();
247 MemoryAllocator::TearDown();