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

#include <incremental-marking-job.h>

Collaboration diagram for v8::internal::IncrementalMarkingJob:

Classes

class  Task
 

Public Member Functions

 IncrementalMarkingJob (Heap *heap)
 
 IncrementalMarkingJob (const IncrementalMarkingJob &)=delete
 
IncrementalMarkingJoboperator= (const IncrementalMarkingJob &)=delete
 
void ScheduleTask (TaskPriority priority=TaskPriority::kUserBlocking)
 
std::optional< v8::base::TimeDeltaAverageTimeToTask () const
 
std::optional< v8::base::TimeDeltaCurrentTimeToTask () const
 

Private Attributes

Heap *const heap_
 
const std::shared_ptr< v8::TaskRunneruser_blocking_task_runner_
 
const std::shared_ptr< v8::TaskRunneruser_visible_task_runner_
 
base::Mutex mutex_
 
v8::base::TimeTicks scheduled_time_
 
bool pending_task_ = false
 

Detailed Description

Definition at line 22 of file incremental-marking-job.h.

Constructor & Destructor Documentation

◆ IncrementalMarkingJob() [1/2]

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

Definition at line 46 of file incremental-marking-job.cc.

◆ IncrementalMarkingJob() [2/2]

v8::internal::IncrementalMarkingJob::IncrementalMarkingJob ( const IncrementalMarkingJob & )
delete

Member Function Documentation

◆ AverageTimeToTask()

std::optional< v8::base::TimeDelta > v8::internal::IncrementalMarkingJob::AverageTimeToTask ( ) const

Definition at line 157 of file incremental-marking-job.cc.

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

◆ CurrentTimeToTask()

std::optional< base::TimeDelta > v8::internal::IncrementalMarkingJob::CurrentTimeToTask ( ) const

Definition at line 146 of file incremental-marking-job.cc.

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

◆ operator=()

IncrementalMarkingJob & v8::internal::IncrementalMarkingJob::operator= ( const IncrementalMarkingJob & )
delete

◆ ScheduleTask()

void v8::internal::IncrementalMarkingJob::ScheduleTask ( TaskPriority priority = TaskPriority::kUserBlocking)

Definition at line 55 of file incremental-marking-job.cc.

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

Member Data Documentation

◆ heap_

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

Definition at line 43 of file incremental-marking-job.h.

◆ mutex_

base::Mutex v8::internal::IncrementalMarkingJob::mutex_
mutableprivate

Definition at line 46 of file incremental-marking-job.h.

◆ pending_task_

bool v8::internal::IncrementalMarkingJob::pending_task_ = false
private

Definition at line 48 of file incremental-marking-job.h.

◆ scheduled_time_

v8::base::TimeTicks v8::internal::IncrementalMarkingJob::scheduled_time_
private

Definition at line 47 of file incremental-marking-job.h.

◆ user_blocking_task_runner_

const std::shared_ptr<v8::TaskRunner> v8::internal::IncrementalMarkingJob::user_blocking_task_runner_
private

Definition at line 44 of file incremental-marking-job.h.

◆ user_visible_task_runner_

const std::shared_ptr<v8::TaskRunner> v8::internal::IncrementalMarkingJob::user_visible_task_runner_
private

Definition at line 45 of file incremental-marking-job.h.


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