deps: V8: cherry-pick 597f885
Original commit message:
[coverage] Deterministically sort collected shared function infos
Prior to this CL, collected shared function infos with identical
source ranges were sorted non-deterministically during coverage
collection. This lead to non-deterministically incorrectly-reported
coverage due to an optimization which depended on the sort order later
on.
With this CL, we now sort shared function infos by the source range
*and* call count.
Bug: v8:6000,v8:9212
Change-Id: If8bf900727591e71dbd0df621e472a4303f3a353
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1771776
Reviewed-by:
Yang Guo <yangguo@chromium.org>
Commit-Queue: Jakob Gruber <jgruber@chromium.org>
Cr-Commit-Position: refs/heads/master@{#63411}
Refs: https://github.com/v8/v8/commit/597f885eaa6189f8c8466ee9916763c679e84e9a
PR-URL: https://github.com/nodejs/node/pull/29367
Reviewed-By:
Rich Trott <rtrott@gmail.com>
Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
Reviewed-By:
Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
parent
858db73a
Please register or sign in to comment