5#ifndef INCLUDE_CPPGC_DEFAULT_PLATFORM_H_
6#define INCLUDE_CPPGC_DEFAULT_PLATFORM_H_
24 int thread_pool_size = 0,
26 std::unique_ptr<TracingController> tracing_controller = {})
28 thread_pool_size, idle_task_support,
30 std::move(tracing_controller))) {}
33 return v8_platform_->GetPageAllocator();
37 return v8_platform_->MonotonicallyIncreasingTime();
45 return v8_platform_->GetForegroundTaskRunner(kNoIsolate, priority);
48 std::unique_ptr<cppgc::JobHandle>
PostJob(
50 std::unique_ptr<cppgc::JobTask> job_task)
override {
51 return v8_platform_->PostJob(priority, std::move(job_task));
55 return v8_platform_->GetTracingController();
Definition: v8-isolate.h:261
Definition: v8-platform.h:455
Definition: v8-platform.h:375
Definition: allocation.h:38
TaskPriority
Definition: v8-platform.h:24
#define V8_EXPORT
Definition: v8config.h:793