Home
last modified time | relevance | path

Searched refs:BaseSpace (Results 1 – 19 of 19) sorted by relevance

/external/v8/src/heap/cppgc/
Dheap-space.h22 class V8_EXPORT_PRIVATE BaseSpace {
29 BaseSpace(const BaseSpace&) = delete;
30 BaseSpace& operator=(const BaseSpace&) = delete;
54 explicit BaseSpace(RawHeap* heap, size_t index, PageType type,
66 class V8_EXPORT_PRIVATE NormalPageSpace final : public BaseSpace {
91 static NormalPageSpace* From(BaseSpace* space) { in From()
95 static const NormalPageSpace* From(const BaseSpace* space) { in From()
96 return From(const_cast<BaseSpace*>(space)); in From()
114 class V8_EXPORT_PRIVATE LargePageSpace final : public BaseSpace {
116 static LargePageSpace* From(BaseSpace* space) { in From()
[all …]
Dheap-space.cc17 BaseSpace::BaseSpace(RawHeap* heap, size_t index, PageType type, in BaseSpace() function in cppgc::internal::BaseSpace
23 void BaseSpace::AddPage(BasePage* page) { in AddPage()
29 void BaseSpace::RemovePage(BasePage* page) { in RemovePage()
36 BaseSpace::Pages BaseSpace::RemoveAllPages() { in RemoveAllPages()
44 : BaseSpace(heap, index, PageType::kNormal, is_compactable) {} in NormalPageSpace()
47 : BaseSpace(heap, index, PageType::kLarge, false /* is_compactable */) {} in LargePageSpace()
Draw-heap.h20 class BaseSpace; variable
46 using Spaces = std::vector<std::unique_ptr<BaseSpace>>;
69 BaseSpace* Space(RegularSpaceType type) { in Space()
74 const BaseSpace* Space(RegularSpaceType space) const { in Space()
78 BaseSpace* CustomSpace(CustomSpaceIndex space_index) { in CustomSpace()
81 const BaseSpace* CustomSpace(CustomSpaceIndex space_index) const { in CustomSpace()
94 BaseSpace* Space(size_t space_index) { in Space()
96 BaseSpace* space = spaces_[space_index].get(); in Space()
100 const BaseSpace* Space(size_t space_index) const { in Space()
Dheap-page.h17 class BaseSpace; variable
39 BaseSpace* space() { return space_; } in space()
40 const BaseSpace* space() const { return space_; } in space()
41 void set_space(BaseSpace* space) { space_ = space; } in set_space()
82 BasePage(HeapBase*, BaseSpace*, PageType);
86 BaseSpace* space_;
181 NormalPage(HeapBase* heap, BaseSpace* space);
218 LargePage(HeapBase* heap, BaseSpace* space, size_t);
Dheap-page.cc101 BasePage::BasePage(HeapBase* heap, BaseSpace* space, PageType type) in BasePage()
122 BaseSpace* space = page->space(); in Destroy()
130 NormalPage::NormalPage(HeapBase* heap, BaseSpace* space) in NormalPage()
174 LargePage::LargePage(HeapBase* heap, BaseSpace* space, size_t size) in LargePage()
201 BaseSpace* space = page->space(); in Destroy()
Dheap-visitor.h29 void Traverse(BaseSpace* space) { in Traverse()
Dsweeper.cc474 void ExtractPages(BaseSpace* space) { in ExtractPages()
475 BaseSpace::Pages space_pages = space->RemoveAllPages(); in ExtractPages()
/external/v8/src/heap/
Dbase-space.h22 class V8_EXPORT_PRIVATE BaseSpace : public Malloced {
62 BaseSpace(Heap* heap, AllocationSpace id) in BaseSpace() function
65 virtual ~BaseSpace() = default;
75 DISALLOW_COPY_AND_ASSIGN(BaseSpace);
Dbasic-memory-chunk.h22 class BaseSpace; variable
153 BaseSpace* owner() const { return owner_; } in owner()
155 void set_owner(BaseSpace* space) { owner_ = space; } in set_owner()
267 BaseSpace* owner,
368 std::atomic<BaseSpace*> owner_;
Dbase-space.cc10 const char* BaseSpace::GetSpaceName(AllocationSpace space) { in GetSpaceName()
Dbasic-memory-chunk.cc39 BaseSpace* owner, in Initialize()
Dmemory-allocator.h225 Executability executable, BaseSpace* space);
233 BaseSpace* space);
Dspaces.h112 class V8_EXPORT_PRIVATE Space : public BaseSpace {
115 : BaseSpace(heap, id), in Space()
Dread-only-spaces.h167 class ReadOnlySpace : public BaseSpace {
Dmemory-allocator.cc361 BaseSpace* owner) { in AllocateBasicChunk()
483 BaseSpace* owner) { in AllocateChunk()
Dread-only-spaces.cc274 : BaseSpace(heap, RO_SPACE), in ReadOnlySpace()
Dheap.cc634 << ESCAPE(BaseSpace::GetSpaceName( in DumpJSONHeapStatistics()
2875 BaseSpace* space = chunk->owner(); in VerifyNoNeedToClearSlots()
/external/v8/src/snapshot/
Dserializer.cc80 BaseSpace::GetSpaceName(static_cast<AllocationSpace>(space))); in OutputStatistics()
95 BaseSpace::GetSpaceName(static_cast<AllocationSpace>(space)), \ in OutputStatistics()
/external/v8/src/api/
Dapi.cc8631 space_statistics->space_name_ = i::BaseSpace::GetSpaceName(allocation_space); in GetHeapSpaceStatistics()