• Thiabaud Engelbrecht's avatar
    Reland "[v8] Use |AllocateAtLeast| for resizing v8 zones." · 2a7f86ed
    Thiabaud Engelbrecht authored
    This is a reland of commit 4444874c
    This fixes a failure on the UBSan bots caused by assuming |Realloc| is always in-place if the new size is <= the value of |malloc_usable_size|.
    
    Original change's description:
    > [v8] Use |AllocateAtLeast| for resizing v8 zones.
    >
    > This is part of an ongoing effort to reduce fragmentation in Chrome.  Partition alloc shows v8 zones are a large user of memory in Renderer processes, and that there is fragmentation from these allocations. This CL will reduce this fragmentation by allowing v8 to use all allocated memory for its zones.
    >
    > Bug: v8:13193, chromium:1238858
    > Change-Id: Ibeac8bdba9d0e7ff66b14a3dde10e7c87d3cf953
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3889361
    > Reviewed-by: Adam Klein <adamk@chromium.org>
    > Commit-Queue: Thiabaud Engelbrecht <thiabaud@google.com>
    > Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
    > Cr-Commit-Position: refs/heads/main@{#83235}
    
    Bug: v8:13193, chromium:1238858
    Change-Id: I923bcbce8403dd7d84642340fd7202087b8a4440
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3910268Reviewed-by: 's avatarAdam Klein <adamk@chromium.org>
    Commit-Queue: Thiabaud Engelbrecht <thiabaud@google.com>
    Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#83372}
    2a7f86ed
Name
Last commit
Last update
..
benchmarks Loading commit data...
bigint Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
debugging Loading commit data...
fuzzer Loading commit data...
fuzzilli Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-api-tests Loading commit data...
wasm-js Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
OWNERS Loading commit data...