deps: cherry-pick 46c4979 from upstream V8
Original commit message:
Use wider types for max_old_space_size and co.
Make --max_old_space_size and friends work with values >= 2**31.
Such values did not work reliably (or sometimes not all) due to
signed integer overflow in size computations, which is UB.
Fixes https://github.com/nodejs/node/issues/18786.
Bug: chromium:814138
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
Change-Id: Ibe23cef2417fd5b4a727022b8b0d4b50f1417182
Reviewed-on: https://chromium-review.googlesource.com/927063
Commit-Queue: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-by:
Michael Lippautz <mlippautz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#51433}
Refs: https://github.com/v8/v8/commit/46c4979e860a9aaf4444616955e896e70e72afbf
PR-URL: https://github.com/nodejs/node/pull/18453
Reviewed-By:
James M Snell <jasnell@gmail.com>
Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
Reviewed-By:
Yang Guo <yangguo@chromium.org>
Reviewed-By:
Ali Ijaz Sheikh <ofrobots@google.com>
Reviewed-By:
Michael Dawson <michael_dawson@ca.ibm.com>
parent
b4c1222a
Please register or sign in to comment