-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
Closed
Labels
c++Issues and PRs that require attention from people who are familiar with C++.Issues and PRs that require attention from people who are familiar with C++.v8 engineIssues and PRs related to the V8 dependency.Issues and PRs related to the V8 dependency.
Description
A new API was introduced in v8/v8@120b753.
The current API is deprecated in V8 6.4: v8/v8@8c5e2d7
Our usage:
Lines 150 to 160 in 6aac05b
void Environment::StartProfilerIdleNotifier() { | |
uv_prepare_start(&idle_prepare_handle_, [](uv_prepare_t* handle) { | |
Environment* env = ContainerOf(&Environment::idle_prepare_handle_, handle); | |
env->isolate()->GetCpuProfiler()->SetIdle(true); | |
}); | |
uv_check_start(&idle_check_handle_, [](uv_check_t* handle) { | |
Environment* env = ContainerOf(&Environment::idle_check_handle_, handle); | |
env->isolate()->GetCpuProfiler()->SetIdle(false); | |
}); | |
} |
Metadata
Metadata
Assignees
Labels
c++Issues and PRs that require attention from people who are familiar with C++.Issues and PRs that require attention from people who are familiar with C++.v8 engineIssues and PRs related to the V8 dependency.Issues and PRs related to the V8 dependency.