Home
last modified time | relevance | path

Searched refs:job_handle_ (Results 1 – 11 of 11) sorted by relevance

/third_party/node/deps/v8/src/heap/
Dconcurrent-marking.cc595 DCHECK(!job_handle_ || !job_handle_->IsValid()); in ScheduleJob()
597 job_handle_ = V8::GetCurrentPlatform()->PostJob( in ScheduleJob()
602 DCHECK(job_handle_->IsValid()); in ScheduleJob()
614 if (!job_handle_ || !job_handle_->IsValid()) { in RescheduleJobIfNeeded()
618 job_handle_->UpdatePriority(priority); in RescheduleJobIfNeeded()
619 job_handle_->NotifyConcurrencyIncrease(); in RescheduleJobIfNeeded()
625 if (!job_handle_ || !job_handle_->IsValid()) return; in Join()
626 job_handle_->Join(); in Join()
631 if (!job_handle_ || !job_handle_->IsValid()) return false; in Pause()
633 job_handle_->Cancel(); in Pause()
[all …]
Dsweeper.cc35 if (sweeper_->job_handle_ && sweeper_->job_handle_->IsValid()) in PauseScope()
36 sweeper_->job_handle_->Cancel(); in PauseScope()
145 if (job_handle_ && job_handle_->IsValid()) job_handle_->Cancel(); in TearDown()
172 DCHECK(!job_handle_ || !job_handle_->IsValid()); in StartSweeperTasks()
175 job_handle_ = V8::GetCurrentPlatform()->PostJob( in StartSweeperTasks()
204 if (job_handle_ && job_handle_->IsValid()) job_handle_->Join(); in EnsureCompleted()
226 return job_handle_ && job_handle_->IsValid() && job_handle_->IsActive(); in AreSweeperTasksRunning()
594 DCHECK(!FLAG_concurrent_sweeping || !job_handle_ || !job_handle_->IsValid()); in AddPage()
Dmemory-allocator.cc108 if (job_handle_ && job_handle_->IsValid()) { in FreeQueuedChunks()
109 job_handle_->NotifyConcurrencyIncrease(); in FreeQueuedChunks()
111 job_handle_ = V8::GetCurrentPlatform()->PostJob( in FreeQueuedChunks()
124 if (job_handle_ && job_handle_->IsValid()) job_handle_->Join(); in CancelAndWaitForPendingTasks()
181 CHECK(!job_handle_ || !job_handle_->IsValid()); in TearDown()
Dconcurrent-marking.h113 std::unique_ptr<JobHandle> job_handle_; variable
Dsweeper.h202 std::unique_ptr<JobHandle> job_handle_; variable
Dmemory-allocator.h132 std::unique_ptr<v8::JobHandle> job_handle_; variable
/third_party/node/deps/v8/src/baseline/
Dbaseline-batch-compiler.cc187 job_handle_ = V8::GetCurrentPlatform()->PostJob( in ConcurrentBaselineCompiler()
195 if (job_handle_ && job_handle_->IsValid()) { in ~ConcurrentBaselineCompiler()
198 job_handle_->Cancel(); in ~ConcurrentBaselineCompiler()
207 job_handle_->NotifyConcurrencyIncrease(); in CompileBatch()
220 std::unique_ptr<JobHandle> job_handle_ = nullptr; member in v8::internal::baseline::ConcurrentBaselineCompiler
/third_party/node/deps/v8/src/maglev/
Dmaglev-concurrent-dispatcher.cc163 job_handle_ = V8::GetCurrentPlatform()->PostJob( in MaglevConcurrentDispatcher()
172 if (is_enabled() && job_handle_->IsValid()) { in ~MaglevConcurrentDispatcher()
175 job_handle_->Cancel(); in ~MaglevConcurrentDispatcher()
185 job_handle_->NotifyConcurrencyIncrease(); in EnqueueJob()
Dmaglev-concurrent-dispatcher.h86 bool is_enabled() const { return static_cast<bool>(job_handle_); } in is_enabled()
90 std::unique_ptr<JobHandle> job_handle_; variable
/third_party/node/deps/v8/src/compiler-dispatcher/
Dlazy-compile-dispatcher.cc84 job_handle_ = platform_->PostJob(TaskPriority::kUserVisible, in LazyCompileDispatcher()
90 CHECK(!job_handle_->IsValid()); in ~LazyCompileDispatcher()
184 job_handle_->NotifyConcurrencyIncrease(); in Enqueue()
345 job_handle_->Cancel(); in AbortAll()
Dlazy-compile-dispatcher.h192 std::unique_ptr<JobHandle> job_handle_; variable