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

#include <minor-gc-job.h>

Collaboration diagram for v8::internal::MinorGCJob:

Classes

class  Task
 

Public Member Functions

 MinorGCJob (Heap *heap) V8_NOEXCEPT
 
void TryScheduleTask ()
 
void CancelTaskIfScheduled ()
 

Private Member Functions

bool IsScheduled () const
 

Private Attributes

Heap *const heap_
 
CancelableTaskManager::Id current_task_id_
 
std::unique_ptr< AllocationObserverminor_gc_task_observer_
 

Detailed Description

Definition at line 24 of file minor-gc-job.h.

Constructor & Destructor Documentation

◆ MinorGCJob()

v8::internal::MinorGCJob::MinorGCJob ( Heap * heap)
explicit

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

Member Function Documentation

◆ CancelTaskIfScheduled()

void v8::internal::MinorGCJob::CancelTaskIfScheduled ( )

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

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

◆ IsScheduled()

bool v8::internal::MinorGCJob::IsScheduled ( ) const
inlineprivate

Definition at line 37 of file minor-gc-job.h.

Here is the caller graph for this function:

◆ TryScheduleTask()

void v8::internal::MinorGCJob::TryScheduleTask ( )

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

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

Member Data Documentation

◆ current_task_id_

CancelableTaskManager::Id v8::internal::MinorGCJob::current_task_id_
private
Initial value:

Definition at line 42 of file minor-gc-job.h.

◆ heap_

Heap* const v8::internal::MinorGCJob::heap_
private

Definition at line 41 of file minor-gc-job.h.

◆ minor_gc_task_observer_

std::unique_ptr<AllocationObserver> v8::internal::MinorGCJob::minor_gc_task_observer_
private

Definition at line 44 of file minor-gc-job.h.


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