Home
last modified time | relevance | path

Searched refs:spaces_ (Results 1 – 5 of 5) sorted by relevance

/third_party/node/deps/v8/src/heap/cppgc/
Draw-heap.h59 iterator begin() { return spaces_.begin(); } in begin()
60 const_iterator begin() const { return spaces_.begin(); } in begin()
61 iterator end() { return spaces_.end(); } in end()
62 const_iterator end() const { return spaces_.end(); } in end()
67 size_t size() const { return spaces_.size(); } in size()
90 DCHECK_LT(space_index.value, spaces_.size() - kNumberOfRegularSpaces); in SpaceIndexForCustomSpace()
95 DCHECK_GT(spaces_.size(), space_index); in Space()
96 BaseSpace* space = spaces_[space_index].get(); in Space()
105 Spaces spaces_; variable
Draw-heap.cc21 spaces_.push_back(std::make_unique<NormalPageSpace>(this, i, false)); in RawHeap()
23 spaces_.push_back(std::make_unique<LargePageSpace>( in RawHeap()
25 DCHECK_EQ(kNumberOfRegularSpaces, spaces_.size()); in RawHeap()
27 spaces_.push_back(std::make_unique<NormalPageSpace>( in RawHeap()
/third_party/node/deps/v8/src/heap/
Dheap-allocator-inl.h22 return static_cast<PagedSpace*>(spaces_[CODE_SPACE]); in code_space()
26 return static_cast<CodeLargeObjectSpace*>(spaces_[CODE_LO_SPACE]); in code_lo_space()
30 return static_cast<OldLargeObjectSpace*>(spaces_[LO_SPACE]); in lo_space()
36 return static_cast<NewSpace*>(spaces_[NEW_SPACE]); in new_space()
40 return static_cast<NewLargeObjectSpace*>(spaces_[NEW_LO_SPACE]); in new_lo_space()
44 return static_cast<PagedSpace*>(spaces_[OLD_SPACE]); in old_space()
Dheap-allocator.cc23 spaces_[i] = heap_->space(i); in Setup()
26 space_for_maps_ = spaces_[MAP_SPACE] in Setup()
27 ? static_cast<PagedSpace*>(spaces_[MAP_SPACE]) in Setup()
28 : static_cast<PagedSpace*>(spaces_[OLD_SPACE]); in Setup()
Dheap-allocator.h102 Space* spaces_[LAST_SPACE + 1]; variable