Lines Matching refs:space
66 static inline bool FillUpOnePage(v8::internal::NewSpace* space) { in FillUpOnePage() argument
67 space->DisableInlineAllocationSteps(); in FillUpOnePage()
68 int space_remaining = static_cast<int>(*space->allocation_limit_address() - in FillUpOnePage()
69 *space->allocation_top_address()); in FillUpOnePage()
71 CreatePadding(space->heap(), space_remaining, i::NOT_TENURED); in FillUpOnePage()
77 static inline void AllocateAllButNBytes(v8::internal::NewSpace* space, in AllocateAllButNBytes() argument
79 space->DisableInlineAllocationSteps(); in AllocateAllButNBytes()
80 int space_remaining = static_cast<int>(*space->allocation_limit_address() - in AllocateAllButNBytes()
81 *space->allocation_top_address()); in AllocateAllButNBytes()
85 CreatePadding(space->heap(), new_linear_size, i::NOT_TENURED); in AllocateAllButNBytes()
89 static inline void FillCurrentPage(v8::internal::NewSpace* space) { in FillCurrentPage() argument
90 AllocateAllButNBytes(space, 0); in FillCurrentPage()
94 static inline void SimulateFullSpace(v8::internal::NewSpace* space) { in SimulateFullSpace() argument
95 FillCurrentPage(space); in SimulateFullSpace()
96 while (FillUpOnePage(space)) { in SimulateFullSpace()
102 static inline void SimulateFullSpace(v8::internal::PagedSpace* space) { in SimulateFullSpace() argument
103 space->EmptyAllocationInfo(); in SimulateFullSpace()
104 space->ResetFreeList(); in SimulateFullSpace()
105 space->ClearStats(); in SimulateFullSpace()