Definition at line 152 of file array-buffer-sweeper.cc.
◆ SweepingJob() [1/2]
◆ ~SweepingJob()
v8::internal::ArrayBufferSweeper::SweepingState::SweepingJob::~SweepingJob |
( |
| ) |
|
|
overridedefault |
◆ SweepingJob() [2/2]
v8::internal::ArrayBufferSweeper::SweepingState::SweepingJob::SweepingJob |
( |
const SweepingJob & | | ) |
|
|
delete |
◆ GetMaxConcurrency()
size_t v8::internal::ArrayBufferSweeper::SweepingState::SweepingJob::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 174 of file array-buffer-sweeper.cc.
◆ operator=()
◆ Run()
void v8::internal::ArrayBufferSweeper::SweepingState::SweepingJob::Run |
( |
JobDelegate * | delegate | ) |
|
|
finalvirtual |
◆ Sweep()
void v8::internal::ArrayBufferSweeper::SweepingState::SweepingJob::Sweep |
( |
JobDelegate * | delegate | ) |
|
|
private |
◆ SweepFull()
bool v8::internal::ArrayBufferSweeper::SweepingState::SweepingJob::SweepFull |
( |
JobDelegate * | delegate | ) |
|
|
private |
◆ SweepListFull()
◆ SweepYoung()
bool v8::internal::ArrayBufferSweeper::SweepingState::SweepingJob::SweepYoung |
( |
JobDelegate * | delegate | ) |
|
|
private |
◆ heap_
Heap* const v8::internal::ArrayBufferSweeper::SweepingState::SweepingJob::heap_ |
|
private |
◆ local_sweeper_
◆ old_
ArrayBufferList v8::internal::ArrayBufferSweeper::SweepingState::SweepingJob::old_ {ArrayBufferList::Age::kOld} |
|
private |
◆ state_
SweepingState& v8::internal::ArrayBufferSweeper::SweepingState::SweepingJob::state_ |
|
private |
◆ trace_id_
const uint64_t v8::internal::ArrayBufferSweeper::SweepingState::SweepingJob::trace_id_ |
|
private |
◆ treat_all_young_as_promoted_
const TreatAllYoungAsPromoted v8::internal::ArrayBufferSweeper::SweepingState::SweepingJob::treat_all_young_as_promoted_ |
|
private |
◆ type_
const SweepingType v8::internal::ArrayBufferSweeper::SweepingState::SweepingJob::type_ |
|
private |
◆ young_
ArrayBufferList v8::internal::ArrayBufferSweeper::SweepingState::SweepingJob::young_ {ArrayBufferList::Age::kYoung} |
|
private |
The documentation for this class was generated from the following file: