#include "src/heap/incremental-marking-job.h"
#include <optional>
#include "src/base/platform/mutex.h"
#include "src/base/platform/time.h"
#include "src/execution/isolate.h"
#include "src/execution/vm-state-inl.h"
#include "src/flags/flags.h"
#include "src/heap/base/incremental-marking-schedule.h"
#include "src/heap/cppgc-js/cpp-heap.h"
#include "src/heap/cppgc/marker.h"
#include "src/heap/gc-tracer.h"
#include "src/heap/heap-inl.h"
#include "src/heap/heap.h"
#include "src/heap/incremental-marking.h"
#include "src/heap/minor-gc-job.h"
#include "src/init/v8.h"
#include "src/tasks/cancelable-task.h"
namespace v8::internal {
class IncrementalMarkingJob::Task final : public CancelableTask { … };
IncrementalMarkingJob::IncrementalMarkingJob(Heap* heap)
: … { … }
void IncrementalMarkingJob::ScheduleTask(TaskPriority priority) { … }
void IncrementalMarkingJob::Task::RunInternal() { … }
std::optional<base::TimeDelta> IncrementalMarkingJob::CurrentTimeToTask()
const { … }
std::optional<v8::base::TimeDelta> IncrementalMarkingJob::AverageTimeToTask()
const { … }
}