Home
last modified time | relevance | path

Searched refs:HeapBase (Results 1 – 25 of 48) sorted by relevance

12

/third_party/node/deps/v8/src/heap/cppgc/
Dprocess-heap.h16 class HeapBase; variable
22 using Storage = std::vector<HeapBase*>;
26 inline explicit Subscription(HeapBase&);
30 HeapBase& heap_;
33 static HeapBase* TryFromManagedPointer(const void* needle);
39 static void RegisterHeap(HeapBase&);
40 static void UnregisterHeap(HeapBase&);
43 HeapRegistry::Subscription::Subscription(HeapBase& heap) : heap_(heap) { in Subscription()
Dtesting.cc16 auto& heap = internal::HeapBase::From(heap_handle_); in OverrideEmbedderStackStateScope()
22 internal::HeapBase::From(heap_handle_).override_stack_state_.reset(); in ~OverrideEmbedderStackStateScope()
29 internal::HeapBase::From(heap_handle_) in StartGarbageCollection()
34 return internal::HeapBase::From(heap_handle_) in PerformMarkingStep()
41 internal::HeapBase::From(heap_handle_) in FinalizeGarbageCollection()
46 internal::HeapBase::From(heap_handle_) in ToggleMainThreadMarking()
52 internal::HeapBase::From(heap_handle_) in ForceCompactionForNextGarbageCollection()
Dheap-base.h65 friend class internal::HeapBase;
76 class V8_EXPORT_PRIVATE HeapBase : public cppgc::HeapHandle {
82 static HeapBase& From(cppgc::HeapHandle& heap_handle) { in From()
83 return static_cast<HeapBase&>(heap_handle); in From()
85 static const HeapBase& From(const cppgc::HeapHandle& heap_handle) { in From()
86 return static_cast<const HeapBase&>(heap_handle); in From()
89 HeapBase(std::shared_ptr<cppgc::Platform> platform,
93 virtual ~HeapBase();
95 HeapBase(const HeapBase&) = delete;
96 HeapBase& operator=(const HeapBase&) = delete;
Dheap-base.cc54 HeapBase::HeapBase( in HeapBase() function in cppgc::internal::HeapBase
96 HeapBase::~HeapBase() = default;
98 PageAllocator* HeapBase::page_allocator() const { in page_allocator()
106 size_t HeapBase::ObjectPayloadSize() const { in ObjectPayloadSize()
110 size_t HeapBase::ExecutePreFinalizers() { in ExecutePreFinalizers()
123 void HeapBase::ResetRememberedSet() { in ResetRememberedSet()
148 void HeapBase::Terminate() { in Terminate()
210 HeapStatistics HeapBase::CollectStatistics( in CollectStatistics()
Dheap-state.cc15 internal::HeapBase::From(heap_handle).marker(); in IsMarking()
21 return internal::HeapBase::From(heap_handle).sweeper().IsSweepingInProgress(); in IsSweeping()
26 return internal::HeapBase::From(heap_handle) in IsSweepingOnOwningThread()
33 return internal::HeapBase::From(heap_handle).in_atomic_pause(); in IsInAtomicPause()
38 return internal::HeapBase::From(heap_handle).stack_state_of_prev_gc() == in PreviousGCWasConservative()
Dheap-consistency.cc17 auto& heap_base = internal::HeapBase::From(heap_handle); in IsGarbageCollectionAllowed()
23 auto& heap_base = internal::HeapBase::From(heap_handle); in Enter()
29 auto& heap_base = internal::HeapBase::From(heap_handle); in Leave()
46 auto& heap_base = internal::HeapBase::From(heap_handle); in Enter()
52 auto& heap_base = internal::HeapBase::From(heap_handle); in Leave()
Dmarking-visitor.h16 class HeapBase; variable
25 MarkingVisitorBase(HeapBase&, BasicMarkingState&);
43 MutatorMarkingVisitor(HeapBase&, MutatorMarkingState&);
55 ConcurrentMarkingVisitor(HeapBase&, ConcurrentMarkingState&);
74 ConservativeMarkingVisitor(HeapBase&, MutatorMarkingState&, cppgc::Visitor&);
Dplatform.h16 class HeapBase; variable
20 using Callback = void(const std::string&, const SourceLocation&, HeapBase*);
23 explicit FatalOutOfMemoryHandler(HeapBase* heap) : heap_(heap) {} in FatalOutOfMemoryHandler()
36 HeapBase* heap_ = nullptr;
Draw-heap.h19 class HeapBase; variable
50 RawHeap(HeapBase* heap,
85 HeapBase* heap() { return main_heap_; } in heap()
86 const HeapBase* heap() const { return main_heap_; } in heap()
104 HeapBase* main_heap_;
Dheap.h19 class V8_EXPORT_PRIVATE Heap final : public HeapBase,
32 HeapBase& AsBase() { return *this; } in AsBase()
33 const HeapBase& AsBase() const { return *this; } in AsBase()
41 return HeapBase::override_stack_state(); in override_stack_state()
Dconcurrent-marker.h19 ConcurrentMarkerBase(HeapBase&, MarkingWorklists&,
36 HeapBase& heap() const { return heap_; } in heap()
49 HeapBase& heap_;
64 ConcurrentMarker(HeapBase& heap, MarkingWorklists& marking_worklists, in ConcurrentMarker()
Dheap-page.h20 class HeapBase; variable
28 static BasePage* FromInnerAddress(const HeapBase*, void*);
29 static const BasePage* FromInnerAddress(const HeapBase*, const void*);
36 HeapBase& heap() const { return heap_; } in heap()
91 BasePage(HeapBase&, BaseSpace&, PageType);
94 HeapBase& heap_;
197 NormalPage(HeapBase& heap, BaseSpace& space);
255 LargePage(HeapBase& heap, BaseSpace& space, size_t);
Dmarker.h26 class HeapBase; variable
121 HeapBase& heap() { return heap_; } in heap()
145 MarkerBase(HeapBase&, cppgc::Platform*, MarkingConfig);
167 HeapBase& heap_;
190 Marker(HeapBase&, cppgc::Platform*, MarkingConfig = MarkingConfig::Default());
Dprefinalizer-handler.h16 class HeapBase; variable
29 explicit PreFinalizerHandler(HeapBase& heap);
53 HeapBase& heap_;
Dmarking-visitor.cc14 MarkingVisitorBase::MarkingVisitorBase(HeapBase& heap, in MarkingVisitorBase()
52 HeapBase& heap, MutatorMarkingState& marking_state, cppgc::Visitor& visitor) in ConservativeMarkingVisitor()
76 MutatorMarkingVisitor::MutatorMarkingVisitor(HeapBase& heap, in MutatorMarkingVisitor()
95 HeapBase& heap, ConcurrentMarkingState& marking_state) in ConcurrentMarkingVisitor()
Dsweeper.h21 class HeapBase; variable
42 explicit Sweeper(HeapBase&);
69 HeapBase& heap_;
Dremembered-set.h20 class HeapBase; variable
28 explicit OldToNewRememberedSet(const HeapBase& heap) in OldToNewRememberedSet()
58 const HeapBase& heap_;
Dvisitor.h14 class HeapBase; variable
42 ConservativeTracingVisitor(HeapBase&, PageBackend&, cppgc::Visitor&);
60 HeapBase& heap_;
Dprocess-heap.cc34 void HeapRegistry::RegisterHeap(HeapBase& heap) { in RegisterHeap()
43 void HeapRegistry::UnregisterHeap(HeapBase& heap) { in UnregisterHeap()
57 HeapBase* HeapRegistry::TryFromManagedPointer(const void* needle) { in TryFromManagedPointer()
Dheap.cc65 void CheckConfig(Heap::Config config, HeapBase::MarkingType marking_support, in CheckConfig()
66 HeapBase::SweepingType sweeping_support) { in CheckConfig()
81 : HeapBase(platform, options.custom_spaces, options.stack_support, in Heap()
87 CHECK_IMPLIES(options.marking_support != HeapBase::MarkingType::kAtomic, in Heap()
89 CHECK_IMPLIES(options.sweeping_support != HeapBase::SweepingType::kAtomic, in Heap()
Dheap-page.cc35 BasePage* BasePage::FromInnerAddress(const HeapBase* heap, void* address) { in FromInnerAddress()
41 const BasePage* BasePage::FromInnerAddress(const HeapBase* heap, in FromInnerAddress()
116 BasePage::BasePage(HeapBase& heap, BaseSpace& space, PageType type) in BasePage()
163 NormalPage::NormalPage(HeapBase& heap, BaseSpace& space) in NormalPage()
207 LargePage::LargePage(HeapBase& heap, BaseSpace& space, size_t size) in LargePage()
Dmarking-state.h26 inline MarkingStateBase(HeapBase&, MarkingWorklists&);
51 HeapBase& heap_;
58 MarkingStateBase::MarkingStateBase(HeapBase& heap, in MarkingStateBase()
110 inline BasicMarkingState(HeapBase& heap, MarkingWorklists&,
226 BasicMarkingState::BasicMarkingState(HeapBase& heap, in BasicMarkingState()
358 MutatorMarkingState(HeapBase& heap, MarkingWorklists& marking_worklists, in MutatorMarkingState()
461 ConcurrentMarkingState(HeapBase& heap, MarkingWorklists& marking_worklists, in ConcurrentMarkingState()
/third_party/node/deps/v8/src/heap/cppgc-js/
Dunified-heap-marking-visitor.h31 using cppgc::internal::HeapBase;
38 UnifiedHeapMarkingVisitorBase(HeapBase&, cppgc::internal::BasicMarkingState&,
65 MutatorUnifiedHeapMarkingVisitor(HeapBase&, MutatorMarkingState&,
90 ConcurrentUnifiedHeapMarkingVisitor(HeapBase&, Heap*,
Dunified-heap-marking-visitor.cc18 HeapBase& heap, cppgc::internal::BasicMarkingState& marking_state, in UnifiedHeapMarkingVisitorBase()
63 HeapBase& heap, MutatorMarkingState& marking_state, in MutatorUnifiedHeapMarkingVisitor()
84 HeapBase& heap, Heap* v8_heap, in ConcurrentUnifiedHeapMarkingVisitor()
/third_party/node/deps/v8/include/cppgc/internal/
Dcaged-heap-local-data.h20 class HeapBase; variable
67 CagedHeapLocalData(HeapBase&, PageAllocator&);
70 HeapBase& heap_base;

12