v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
cppgc::internal::ConcurrentMarker Class Reference

#include <concurrent-marker.h>

Inheritance diagram for cppgc::internal::ConcurrentMarker:
Collaboration diagram for cppgc::internal::ConcurrentMarker:

Public Member Functions

 ConcurrentMarker (HeapBase &heap, MarkingWorklists &marking_worklists, heap::base::IncrementalMarkingSchedule &incremental_marking_schedule, cppgc::Platform *platform)
 
std::unique_ptr< VisitorCreateConcurrentMarkingVisitor (ConcurrentMarkingState &) const final
 
- Public Member Functions inherited from cppgc::internal::ConcurrentMarkerBase
 ConcurrentMarkerBase (HeapBase &, MarkingWorklists &, heap::base::IncrementalMarkingSchedule &, cppgc::Platform *)
 
virtual ~ConcurrentMarkerBase ()
 
 ConcurrentMarkerBase (const ConcurrentMarkerBase &)=delete
 
ConcurrentMarkerBaseoperator= (const ConcurrentMarkerBase &)=delete
 
void Start ()
 
bool Join ()
 
bool Cancel ()
 
void NotifyIncrementalMutatorStepCompleted ()
 
void NotifyOfWorkIfNeeded (cppgc::TaskPriority priority)
 
bool IsActive () const
 
HeapBaseheap () const
 
MarkingWorklistsmarking_worklists () const
 
heap::base::IncrementalMarkingScheduleincremental_marking_schedule () const
 
void AddConcurrentlyMarkedBytes (size_t marked_bytes)
 
size_t concurrently_marked_bytes () const
 

Additional Inherited Members

- Protected Member Functions inherited from cppgc::internal::ConcurrentMarkerBase
void IncreaseMarkingPriorityIfNeeded ()
 

Detailed Description

Definition at line 68 of file concurrent-marker.h.

Constructor & Destructor Documentation

◆ ConcurrentMarker()

cppgc::internal::ConcurrentMarker::ConcurrentMarker ( HeapBase & heap,
MarkingWorklists & marking_worklists,
heap::base::IncrementalMarkingSchedule & incremental_marking_schedule,
cppgc::Platform * platform )
inline

Definition at line 70 of file concurrent-marker.h.

Member Function Documentation

◆ CreateConcurrentMarkingVisitor()

std::unique_ptr< Visitor > cppgc::internal::ConcurrentMarker::CreateConcurrentMarkingVisitor ( ConcurrentMarkingState & marking_state) const
finalvirtual

Implements cppgc::internal::ConcurrentMarkerBase.

Definition at line 268 of file concurrent-marker.cc.

Here is the call graph for this function:

The documentation for this class was generated from the following files: