Lines Matching refs:space
95 void AddPage(AllocationSpace space, Page* page, AddPageMode mode);
114 Page* GetSweptPageSafe(PagedSpace* space);
141 ForAllSweepingSpaces([this, &is_done](AllocationSpace space) { in IsDoneSweeping()
142 if (!sweeping_list_[GetSweepSpaceIndex(space)].empty()) is_done = false; in IsDoneSweeping()
155 Page* GetSweepingPageSafe(AllocationSpace space);
157 void PrepareToBeSweptPage(AllocationSpace space, Page* page);
163 bool IsValidIterabilitySpace(AllocationSpace space) { in IsValidIterabilitySpace() argument
164 return space == NEW_SPACE || space == RO_SPACE; in IsValidIterabilitySpace()
167 static bool IsValidSweepingSpace(AllocationSpace space) { in IsValidSweepingSpace() argument
168 return space >= FIRST_GROWABLE_PAGED_SPACE && in IsValidSweepingSpace()
169 space <= LAST_GROWABLE_PAGED_SPACE; in IsValidSweepingSpace()
172 static int GetSweepSpaceIndex(AllocationSpace space) { in GetSweepSpaceIndex() argument
173 DCHECK(IsValidSweepingSpace(space)); in GetSweepSpaceIndex()
174 return space - FIRST_GROWABLE_PAGED_SPACE; in GetSweepSpaceIndex()