|
| | CppHeap (v8::Platform *, const std::vector< std::unique_ptr< cppgc::CustomSpaceBase > > &, cppgc::Heap::MarkingType, cppgc::Heap::SweepingType) |
| |
| | ~CppHeap () final |
| |
| | CppHeap (const CppHeap &)=delete |
| |
| CppHeap & | operator= (const CppHeap &)=delete |
| |
| HeapBase & | AsBase () |
| |
| const HeapBase & | AsBase () const |
| |
| void | AttachIsolate (Isolate *isolate) |
| |
| void | StartDetachingIsolate () |
| |
| void | DetachIsolate () |
| |
| void | Terminate () |
| |
| void | CollectCustomSpaceStatisticsAtLastGC (std::vector< cppgc::CustomSpaceIndex >, std::unique_ptr< CustomSpaceStatisticsReceiver >) |
| |
| void | FinishSweepingIfRunning () |
| |
| void | FinishAtomicSweepingIfRunning () |
| |
| void | FinishSweepingIfOutOfWork () |
| |
| void | InitializeMarking (CollectionType, std::shared_ptr<::heap::base::IncrementalMarkingSchedule > schedule={}, GarbageCollectionFlags=GarbageCollectionFlagValues::kNoFlags) |
| |
| void | StartMarking () |
| |
| bool | AdvanceMarking (v8::base::TimeDelta max_duration, size_t marked_bytes_limit) |
| |
| bool | IsMarkingDone () const |
| |
| size_t | last_bytes_marked () const |
| |
| void | ProcessCrossThreadWeakness () |
| |
| void | FinishMarkingAndProcessWeakness () |
| |
| void | CompactAndSweep () |
| |
| void | EnterFinalPause (cppgc::EmbedderStackState stack_state) |
| |
| void | EnterProcessGlobalAtomicPause () |
| |
| bool | FinishConcurrentMarkingIfNeeded () |
| |
| void | ReEnableConcurrentMarking () |
| |
| void | WriteBarrier (void *) |
| |
| bool | ShouldFinalizeIncrementalMarking () const |
| |
| void | AllocatedObjectSizeIncreased (size_t) final |
| |
| void | AllocatedObjectSizeDecreased (size_t) final |
| |
| void | ResetAllocatedObjectSize (size_t) final |
| |
| MetricRecorderAdapter * | GetMetricRecorder () const |
| |
| Isolate * | isolate () const |
| |
| size_t | used_size () const |
| |
| size_t | allocated_size () const |
| |
| ::heap::base::Stack * | stack () final |
| |
| std::unique_ptr< CppMarkingState > | CreateCppMarkingState () |
| |
| std::unique_ptr< CppMarkingState > | CreateCppMarkingStateForMutatorThread () |
| |
| void | CollectGarbage (cppgc::internal::GCConfig) override |
| |
| std::optional< cppgc::EmbedderStackState > | overridden_stack_state () const override |
| |
| void | set_override_stack_state (cppgc::EmbedderStackState state) override |
| |
| void | clear_overridden_stack_state () override |
| |
| void | StartIncrementalGarbageCollection (cppgc::internal::GCConfig) override |
| |
| size_t | epoch () const override |
| |
| V8_INLINE void | RememberCrossHeapReferenceIfNeeded (v8::internal::Tagged< v8::internal::JSObject > host_obj, void *value) |
| |
| template<typename F > |
| void | VisitCrossHeapRememberedSetIfNeeded (F f) |
| |
| void | ResetCrossHeapRememberedSet () |
| |
| void | EnableDetachedGarbageCollectionsForTesting () |
| |
| void | CollectGarbageForTesting (CollectionType, StackState) |
| |
| void | UpdateGCCapabilitiesFromFlagsForTesting () |
| |
| bool | CurrentThreadIsHeapThread () const final |
| |
| | HeapBase (std::shared_ptr< cppgc::Platform > platform, const std::vector< std::unique_ptr< CustomSpaceBase > > &custom_spaces, StackSupport stack_support, MarkingType marking_support, SweepingType sweeping_support, GarbageCollector &garbage_collector) |
| |
| virtual | ~HeapBase () |
| |
| | HeapBase (const HeapBase &)=delete |
| |
| HeapBase & | operator= (const HeapBase &)=delete |
| |
| RawHeap & | raw_heap () |
| |
| const RawHeap & | raw_heap () const |
| |
| cppgc::Platform * | platform () |
| |
| const cppgc::Platform * | platform () const |
| |
| FatalOutOfMemoryHandler & | oom_handler () |
| |
| const FatalOutOfMemoryHandler & | oom_handler () const |
| |
| PageBackend * | page_backend () |
| |
| const PageBackend * | page_backend () const |
| |
| StatsCollector * | stats_collector () |
| |
| const StatsCollector * | stats_collector () const |
| |
| PreFinalizerHandler * | prefinalizer_handler () |
| |
| const PreFinalizerHandler * | prefinalizer_handler () const |
| |
| MarkerBase * | marker () const |
| |
| std::unique_ptr< MarkerBase > & | GetMarkerRefForTesting () |
| |
| Compactor & | compactor () |
| |
| ObjectAllocator & | object_allocator () |
| |
| const ObjectAllocator & | object_allocator () const |
| |
| Sweeper & | sweeper () |
| |
| const Sweeper & | sweeper () const |
| |
| PersistentRegion & | GetStrongPersistentRegion () |
| |
| const PersistentRegion & | GetStrongPersistentRegion () const |
| |
| PersistentRegion & | GetWeakPersistentRegion () |
| |
| const PersistentRegion & | GetWeakPersistentRegion () const |
| |
| CrossThreadPersistentRegion & | GetStrongCrossThreadPersistentRegion () |
| |
| const CrossThreadPersistentRegion & | GetStrongCrossThreadPersistentRegion () const |
| |
| CrossThreadPersistentRegion & | GetWeakCrossThreadPersistentRegion () |
| |
| const CrossThreadPersistentRegion & | GetWeakCrossThreadPersistentRegion () const |
| |
| size_t | ObjectPayloadSize () const |
| |
| StackSupport | stack_support () const |
| |
| void | Terminate () |
| |
| bool | in_atomic_pause () const |
| |
| HeapStatistics | CollectStatistics (HeapStatistics::DetailLevel) |
| |
| EmbedderStackState | stack_state_of_prev_gc () const |
| |
| void | SetStackStateOfPrevGC (EmbedderStackState stack_state) |
| |
| void | SetInAtomicPauseForTesting (bool value) |
| |
| void | SetMetricRecorder (std::unique_ptr< MetricRecorder > histogram_recorder) |
| |
| MarkingType | marking_support () const |
| |
| SweepingType | sweeping_support () const |
| |
| bool | incremental_marking_supported () const |
| |
| bool | generational_gc_supported () const |
| |
| StickyBits | sticky_bits () const |
| |
| HeapObjectNameForUnnamedObject | name_of_unnamed_object () const |
| |
| void | set_name_of_unnamed_object (HeapObjectNameForUnnamedObject value) |
| |
| bool | HasMoveListeners () const |
| |
| void | CallMoveListeners (Address from, Address to, size_t size_including_header) |
| |
| void | RegisterMoveListener (MoveListener *listener) |
| |
| void | UnregisterMoveListener (MoveListener *listener) |
| |
| void | set_incremental_marking_in_progress (bool value) |
| |
| void | EnterNoGCScope () |
| |
| void | LeaveNoGCScope () |
| |
| void | EnterDisallowGCScope () |
| |
| void | LeaveDisallowGCScope () |
| |
Public Member Functions inherited from cppgc::HeapHandle |
| | HeapHandle (const HeapHandle &)=delete |
| |
| HeapHandle & | operator= (const HeapHandle &)=delete |
| |
| cppgc::AllocationHandle & | GetAllocationHandle () |
| |
| cppgc::HeapHandle & | GetHeapHandle () |
| |
| void | Terminate () |
| |
| cppgc::HeapStatistics | CollectStatistics (cppgc::HeapStatistics::DetailLevel detail_level) |
| |
| void | CollectCustomSpaceStatisticsAtLastGC (std::vector< cppgc::CustomSpaceIndex > custom_spaces, std::unique_ptr< CustomSpaceStatisticsReceiver > receiver) |
| |
| void | EnableDetachedGarbageCollectionsForTesting () |
| |
| void | CollectGarbageForTesting (cppgc::EmbedderStackState stack_state) |
| |
| void | CollectGarbageInYoungGenerationForTesting (cppgc::EmbedderStackState stack_state) |
| |
| virtual void | AllocatedSizeIncreased (size_t) |
| |
| virtual void | AllocatedSizeDecreased (size_t) |
| |
Definition at line 39 of file cpp-heap.h.