Definition at line 108 of file sweeper.cc.
◆ MajorSweeperJob() [1/2]
v8::internal::Sweeper::MajorSweeperJob::MajorSweeperJob |
( |
Isolate * | isolate, |
|
|
Sweeper * | sweeper ) |
|
inline |
◆ ~MajorSweeperJob()
v8::internal::Sweeper::MajorSweeperJob::~MajorSweeperJob |
( |
| ) |
|
|
overridedefault |
◆ MajorSweeperJob() [2/2]
v8::internal::Sweeper::MajorSweeperJob::MajorSweeperJob |
( |
const MajorSweeperJob & | | ) |
|
|
delete |
◆ GetMaxConcurrency()
size_t v8::internal::Sweeper::MajorSweeperJob::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 135 of file sweeper.cc.
◆ operator=()
◆ Run()
void v8::internal::Sweeper::MajorSweeperJob::Run |
( |
JobDelegate * | delegate | ) |
|
|
inlinefinalvirtual |
◆ RunImpl()
void v8::internal::Sweeper::MajorSweeperJob::RunImpl |
( |
JobDelegate * | delegate, |
|
|
bool | is_joining_thread ) |
|
inlineprivate |
◆ concurrent_sweepers
◆ kMaxTasks
◆ kNumberOfMajorSweepingSpaces
int v8::internal::Sweeper::MajorSweeperJob::kNumberOfMajorSweepingSpaces |
|
staticconstexprprivate |
Initial value:=
static constexpr int kNumberOfSweepingSpaces
Definition at line 111 of file sweeper.cc.
◆ sweeper_
Sweeper* const v8::internal::Sweeper::MajorSweeperJob::sweeper_ |
|
private |
◆ trace_id_
const uint64_t v8::internal::Sweeper::MajorSweeperJob::trace_id_ |
|
private |
◆ tracer_
GCTracer* const v8::internal::Sweeper::MajorSweeperJob::tracer_ |
|
private |
The documentation for this class was generated from the following file: