• Home
  • Raw
  • Download

Lines Matching refs:new_space

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