v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::ScheduleMinorGCTaskObserver Class Referencefinal
Inheritance diagram for v8::internal::ScheduleMinorGCTaskObserver:
Collaboration diagram for v8::internal::ScheduleMinorGCTaskObserver:

Public Member Functions

 ScheduleMinorGCTaskObserver (MinorGCJob *job, Heap *heap)
 
 ~ScheduleMinorGCTaskObserver () final
 
intptr_t GetNextStepSize () final
 
void Step (int, Address, size_t) final
 
- Public Member Functions inherited from v8::internal::AllocationObserver
 AllocationObserver (intptr_t step_size)
 
virtual ~AllocationObserver ()=default
 
 AllocationObserver (const AllocationObserver &)=delete
 
AllocationObserveroperator= (const AllocationObserver &)=delete
 

Private Member Functions

void AddToNewSpace ()
 
void RemoveFromNewSpace ()
 

Static Private Member Functions

static void GCEpilogueCallback (void *data)
 

Private Attributes

Heapheap_
 
MinorGCJob *const job_
 
bool was_added_to_space_ = false
 

Additional Inherited Members

- Static Public Attributes inherited from v8::internal::AllocationObserver
static constexpr intptr_t kNotUsingFixedStepSize = -1
 
- Protected Member Functions inherited from v8::internal::AllocationObserver

Detailed Description

Definition at line 55 of file minor-gc-job.cc.

Constructor & Destructor Documentation

◆ ScheduleMinorGCTaskObserver()

v8::internal::ScheduleMinorGCTaskObserver::ScheduleMinorGCTaskObserver ( MinorGCJob * job,
Heap * heap )
inline

Definition at line 57 of file minor-gc-job.cc.

Here is the call graph for this function:

◆ ~ScheduleMinorGCTaskObserver()

v8::internal::ScheduleMinorGCTaskObserver::~ScheduleMinorGCTaskObserver ( )
inlinefinal

Definition at line 65 of file minor-gc-job.cc.

Here is the call graph for this function:

Member Function Documentation

◆ AddToNewSpace()

void v8::internal::ScheduleMinorGCTaskObserver::AddToNewSpace ( )
inlineprivate

Definition at line 97 of file minor-gc-job.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GCEpilogueCallback()

static void v8::internal::ScheduleMinorGCTaskObserver::GCEpilogueCallback ( void * data)
inlinestaticprivate

Definition at line 90 of file minor-gc-job.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetNextStepSize()

intptr_t v8::internal::ScheduleMinorGCTaskObserver::GetNextStepSize ( )
inlinefinalvirtual

Reimplemented from v8::internal::AllocationObserver.

Definition at line 71 of file minor-gc-job.cc.

◆ RemoveFromNewSpace()

void v8::internal::ScheduleMinorGCTaskObserver::RemoveFromNewSpace ( )
inlineprivate

Definition at line 105 of file minor-gc-job.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Step()

void v8::internal::ScheduleMinorGCTaskObserver::Step ( int ,
Address ,
size_t  )
inlinefinalvirtual

Implements v8::internal::AllocationObserver.

Definition at line 81 of file minor-gc-job.cc.

Here is the call graph for this function:

Member Data Documentation

◆ heap_

Heap* v8::internal::ScheduleMinorGCTaskObserver::heap_
private

Definition at line 113 of file minor-gc-job.cc.

◆ job_

MinorGCJob* const v8::internal::ScheduleMinorGCTaskObserver::job_
private

Definition at line 114 of file minor-gc-job.cc.

◆ was_added_to_space_

bool v8::internal::ScheduleMinorGCTaskObserver::was_added_to_space_ = false
private

Definition at line 115 of file minor-gc-job.cc.


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