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

Public Member Functions

 JobTaskMinor (ConcurrentMarking *concurrent_marking)
 
 ~JobTaskMinor () override=default
 
 JobTaskMinor (const JobTaskMinor &)=delete
 
JobTaskMinoroperator= (const JobTaskMinor &)=delete
 
void Run (JobDelegate *delegate) override
 
size_t GetMaxConcurrency (size_t worker_count) const override
 
uint64_t trace_id () const
 
- Public Member Functions inherited from v8::JobTask
virtual ~JobTask ()=default
 

Private Attributes

ConcurrentMarkingconcurrent_marking_
 
const uint64_t trace_id_
 

Detailed Description

Definition at line 283 of file concurrent-marking.cc.

Constructor & Destructor Documentation

◆ JobTaskMinor() [1/2]

v8::internal::ConcurrentMarking::JobTaskMinor::JobTaskMinor ( ConcurrentMarking * concurrent_marking)
inlineexplicit

Definition at line 285 of file concurrent-marking.cc.

◆ ~JobTaskMinor()

v8::internal::ConcurrentMarking::JobTaskMinor::~JobTaskMinor ( )
overridedefault

◆ JobTaskMinor() [2/2]

v8::internal::ConcurrentMarking::JobTaskMinor::JobTaskMinor ( const JobTaskMinor & )
delete

Member Function Documentation

◆ GetMaxConcurrency()

size_t v8::internal::ConcurrentMarking::JobTaskMinor::GetMaxConcurrency ( size_t worker_count) const
inlineoverridevirtual

Controls the maximum number of threads calling Run() concurrently, given the number of threads currently assigned to this job and executing Run(). Run() is only invoked if the number of threads previously running Run() was less than the value returned. In general, this should return the latest number of incomplete work items (smallest unit of work) left to process, including items that are currently in progress. |worker_count| is the number of threads currently assigned to this job which some callers may need to determine their return value. Since GetMaxConcurrency() is a leaf function, it must not call back any JobHandle methods.

Implements v8::JobTask.

Definition at line 316 of file concurrent-marking.cc.

Here is the call graph for this function:

◆ operator=()

JobTaskMinor & v8::internal::ConcurrentMarking::JobTaskMinor::operator= ( const JobTaskMinor & )
delete

◆ Run()

void v8::internal::ConcurrentMarking::JobTaskMinor::Run ( JobDelegate * delegate)
inlineoverridevirtual

Implements v8::JobTask.

Definition at line 296 of file concurrent-marking.cc.

Here is the call graph for this function:

◆ trace_id()

uint64_t v8::internal::ConcurrentMarking::JobTaskMinor::trace_id ( ) const
inline

Definition at line 320 of file concurrent-marking.cc.

Member Data Documentation

◆ concurrent_marking_

ConcurrentMarking* v8::internal::ConcurrentMarking::JobTaskMinor::concurrent_marking_
private

Definition at line 323 of file concurrent-marking.cc.

◆ trace_id_

const uint64_t v8::internal::ConcurrentMarking::JobTaskMinor::trace_id_
private

Definition at line 324 of file concurrent-marking.cc.


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