5#ifndef V8_HEAP_COLLECTION_BARRIER_H_
6#define V8_HEAP_COLLECTION_BARRIER_H_
25 Heap*
heap, std::shared_ptr<v8::TaskRunner> foreground_task_runner);
bool block_for_collection_
std::shared_ptr< v8::TaskRunner > foreground_task_runner_
void ResumeThreadsAwaitingCollection()
base::ElapsedTimer timer_
CollectionBarrier(Heap *heap, std::shared_ptr< v8::TaskRunner > foreground_task_runner)
bool collection_performed_
void StopTimeToCollectionTimer()
base::ConditionVariable cv_wakeup_
void CancelCollectionAndResumeThreads()
bool AwaitCollectionBackground(LocalHeap *local_heap)
void NotifyShutdownRequested()
std::atomic< bool > collection_requested_