Unverified Commit 13cb056e authored by Ben Noordhuis's avatar Ben Noordhuis Committed by Ruben Bridgewater
Browse files

deps: cherry-pick 46c4979e86 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: default avatarMichael Lippautz <mlippautz@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#51433}

PR-URL: https://github.com/nodejs/node/pull/18920
Fixes: https://github.com/nodejs/node/issues/18786


Reviewed-By: default avatarYang Guo <yangguo@chromium.org>
Reviewed-By: default avatarRuben Bridgewater <ruben@bridgewater.de>
parent 26231548
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment