Definition at line 4672 of file mark-compact.cc.
◆ PageEvacuationJob()
◆ GetMaxConcurrency()
size_t v8::internal::PageEvacuationJob::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 4722 of file mark-compact.cc.
◆ ProcessItems()
void v8::internal::PageEvacuationJob::ProcessItems |
( |
JobDelegate * | delegate, |
|
|
Evacuator * | evacuator ) |
|
inline |
◆ Run()
void v8::internal::PageEvacuationJob::Run |
( |
JobDelegate * | delegate | ) |
|
|
inlineoverridevirtual |
◆ trace_id()
uint64_t v8::internal::PageEvacuationJob::trace_id |
( |
| ) |
const |
|
inline |
◆ collector_
◆ evacuation_items_
◆ evacuators_
std::vector<std::unique_ptr<Evacuator> >* v8::internal::PageEvacuationJob::evacuators_ |
|
private |
◆ generator_
◆ remaining_evacuation_items_
std::atomic<size_t> v8::internal::PageEvacuationJob::remaining_evacuation_items_ {0} |
|
private |
◆ trace_id_
const uint64_t v8::internal::PageEvacuationJob::trace_id_ |
|
private |
◆ tracer_
GCTracer* v8::internal::PageEvacuationJob::tracer_ |
|
private |
The documentation for this class was generated from the following file: