deps: don't busy loop in v8 cpu profiler thread
Backport 6964a9e0685fa186d9d9b7907be17505e839db1a from upstream v8. Original commit message: Make CPU profiler do not hog 100% of CPU. Tick event processor should not stay in a tight loop when there's nothing to do. It can go sleep until next sample event. LOG=N BUG=v8:3967 Committed: https://crrev.com/6964a9e0685fa186d9d9b7907be17505e839db1a Cr-Commit-Position: refs/heads/master@{#28211} Fixes #25137 Related: #9439, #8789 PR: #25268 PR-URL: https://github.com/joyent/node/pull/25268 Reviewed-By:Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By:
Julien Gilli <jgilli@fastmail.fm>
parent
e1cc263c
Please register or sign in to comment