Lines Matching refs:new_space
2023 heap->new_space()->AllocateRawAligned(size, alignment); in NewSpaceAllocateAligned()
2033 Address* top_addr = CcTest::heap()->new_space()->allocation_top_address(); in AlignNewSpace()
2045 Address* top_addr = CcTest::heap()->new_space()->allocation_top_address(); in TEST()
2271 static void FillUpNewSpace(NewSpace* new_space) { in FillUpNewSpace() argument
2274 Heap* heap = new_space->heap(); in FillUpNewSpace()
2279 intptr_t available = new_space->Capacity() - new_space->Size(); in FillUpNewSpace()
2290 NewSpace* new_space = heap->new_space(); in TEST() local
2302 old_capacity = new_space->TotalCapacity(); in TEST()
2303 new_space->Grow(); in TEST()
2304 new_capacity = new_space->TotalCapacity(); in TEST()
2307 old_capacity = new_space->TotalCapacity(); in TEST()
2308 FillUpNewSpace(new_space); in TEST()
2309 new_capacity = new_space->TotalCapacity(); in TEST()
2313 old_capacity = new_space->TotalCapacity(); in TEST()
2314 new_space->Shrink(); in TEST()
2315 new_capacity = new_space->TotalCapacity(); in TEST()
2320 CHECK_LE(new_space->Size(), old_capacity); in TEST()
2323 old_capacity = new_space->TotalCapacity(); in TEST()
2324 new_space->Shrink(); in TEST()
2325 new_capacity = new_space->TotalCapacity(); in TEST()
2329 old_capacity = new_space->TotalCapacity(); in TEST()
2330 new_space->Shrink(); in TEST()
2331 new_space->Shrink(); in TEST()
2332 new_space->Shrink(); in TEST()
2333 new_capacity = new_space->TotalCapacity(); in TEST()
2350 NewSpace* new_space = heap->new_space(); in TEST() local
2352 old_capacity = new_space->TotalCapacity(); in TEST()
2353 new_space->Grow(); in TEST()
2354 new_capacity = new_space->TotalCapacity(); in TEST()
2356 FillUpNewSpace(new_space); in TEST()
2358 new_capacity = new_space->TotalCapacity(); in TEST()
2795 SimulateFullSpace(CcTest::heap()->new_space()); in TEST()
2831 while (!CcTest::heap()->new_space()->IsAtMaximumCapacity()) { in TEST()
2832 CcTest::heap()->new_space()->Grow(); in TEST()
2882 while (!CcTest::heap()->new_space()->IsAtMaximumCapacity()) { in TEST()
2883 CcTest::heap()->new_space()->Grow(); in TEST()
2922 while (!CcTest::heap()->new_space()->IsAtMaximumCapacity()) { in TEST()
2923 CcTest::heap()->new_space()->Grow(); in TEST()
2980 while (!CcTest::heap()->new_space()->IsAtMaximumCapacity()) { in TEST()
2981 CcTest::heap()->new_space()->Grow(); in TEST()
3020 while (!CcTest::heap()->new_space()->IsAtMaximumCapacity()) { in TEST()
3021 CcTest::heap()->new_space()->Grow(); in TEST()
3060 while (!CcTest::heap()->new_space()->IsAtMaximumCapacity()) { in TEST()
3061 CcTest::heap()->new_space()->Grow(); in TEST()
3110 while (!CcTest::heap()->new_space()->IsAtMaximumCapacity()) { in TEST()
3111 CcTest::heap()->new_space()->Grow(); in TEST()
3161 while (!CcTest::heap()->new_space()->IsAtMaximumCapacity()) { in TEST()
3162 CcTest::heap()->new_space()->Grow(); in TEST()
4221 AllocateAllButNBytes(CcTest::heap()->new_space(), in TEST()
4235 CcTest::heap()->new_space()->AllocateRawUnaligned( in TEST()
5614 NewSpace* new_space = heap->new_space(); in UNINITIALIZED_TEST() local
5636 CHECK(new_space->IsAtMaximumCapacity()); in UNINITIALIZED_TEST()
5637 CHECK(i::FLAG_min_semi_space_size * MB == new_space->TotalCapacity()); in UNINITIALIZED_TEST()
5653 CHECK(i::FLAG_min_semi_space_size * MB == new_space->TotalCapacity()); in UNINITIALIZED_TEST()
5656 FillUpOnePage(new_space); in UNINITIALIZED_TEST()
5665 FillUpOnePage(new_space); in UNINITIALIZED_TEST()
5875 SimulateFullSpace(CcTest::heap()->new_space()); in TEST()