Lines Matching refs:new_space
363 NewSpace new_space(heap);
365 CHECK(new_space.SetUp(CcTest::heap()->ReservedSemiSpaceSize(),
367 CHECK(new_space.HasBeenSetUp());
369 while (new_space.Available() >= Page::kMaxRegularHeapObjectSize) {
371 new_space.AllocateRawUnaligned(Page::kMaxRegularHeapObjectSize)
373 CHECK(new_space.Contains(HeapObject::cast(obj)));
376 new_space.TearDown();
762 NewSpace* new_space = i_isolate->heap()->new_space();
766 if (new_space->InitialTotalCapacity() == Page::kPageSize) {
767 CHECK_EQ(new_space->CommittedMemory(), new_space->InitialTotalCapacity());
770 FillCurrentPage(new_space);
776 new_space->AllocateRawUnaligned(80);
778 CHECK_EQ(new_space->CommittedMemory(), 2 * Page::kPageSize);
784 new_space->heap()->CreateFillerObjectAt(free_space->address(), 80);
825 NewSpace* new_space = i_isolate->heap()->new_space();
828 new_space->AddInlineAllocationObserver(&observer1);
832 AllocateUnaligned(new_space, 64);
836 AllocateUnaligned(new_space, 64);
840 AllocateUnaligned(new_space, 136);
844 AllocateUnaligned(new_space, 1024);
850 AllocateUnaligned(new_space, 32);
856 new_space->AddInlineAllocationObserver(&observer2);
858 AllocateUnaligned(new_space, 2048);
862 AllocateUnaligned(new_space, 104);
867 new_space->RemoveInlineAllocationObserver(&observer1);
869 AllocateUnaligned(new_space, 384);
874 AllocateUnaligned(new_space, 48);
877 PauseInlineAllocationObserversScope pause_observers(new_space);
879 AllocateUnaligned(new_space, 384);
885 AllocateUnaligned(new_space, 48);
888 new_space->RemoveInlineAllocationObserver(&observer2);
889 AllocateUnaligned(new_space, 384);
908 NewSpace* new_space = i_isolate->heap()->new_space();
911 new_space->AddInlineAllocationObserver(&observer1);
913 new_space->AddInlineAllocationObserver(&observer2);
916 AllocateUnaligned(new_space, 32);
919 new_space->RemoveInlineAllocationObserver(&observer1);
920 new_space->RemoveInlineAllocationObserver(&observer2);