This repository was archived by the owner on Apr 22, 2023. It is now read-only.
This repository was archived by the owner on Apr 22, 2023. It is now read-only.
v8: don't busy loop in cpu profiler thread - backport #25137
Closed
Description
As described in issue #9439, the profiler consumes 100% of a core on 0.12 when enabled via the CpuProfiler API. This was already improved in 0.10 but the fix did not carry forward correctly to 0.12 due to changes in V8.
I submitted a pull request in #9439 for a fix, but a change has now landed in V8 master for this issue and should probably be backported instead.
The V8 change is https://codereview.chromium.org/1118533003, worked under issue https://code.google.com/p/v8/issues/detail?id=3967.