|
| | Heap (std::shared_ptr< cppgc::Platform > platform, cppgc::Heap::HeapOptions options) |
| |
| | ~Heap () final |
| |
| HeapBase & | AsBase () |
| |
| const HeapBase & | AsBase () const |
| |
| void | CollectGarbage (GCConfig) final |
| |
| void | StartIncrementalGarbageCollection (GCConfig) final |
| |
| void | FinalizeIncrementalGarbageCollectionIfRunning (GCConfig) |
| |
| size_t | epoch () const final |
| |
| std::optional< EmbedderStackState > | overridden_stack_state () const final |
| |
| void | set_override_stack_state (EmbedderStackState state) final |
| |
| void | clear_overridden_stack_state () final |
| |
| void | EnableGenerationalGC () |
| |
| void | DisableHeapGrowingForTesting () |
| |
| | 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 |
| |
| virtual heap::base::Stack * | stack () |
| |
| StackSupport | stack_support () const |
| |
| void | Terminate () |
| |
| virtual bool | IsGCForbidden () const |
| |
| 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) |
| |
| virtual bool | CurrentThreadIsHeapThread () const |
| |
| 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 |
| |
| void | ForceGarbageCollectionSlow (const char *source, const char *reason, StackState stack_state=StackState::kMayContainHeapPointers) |
| |
| AllocationHandle & | GetAllocationHandle () |
| |
| HeapHandle & | GetHeapHandle () |
| |
Definition at line 21 of file heap.h.