• 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
..
api Loading commit data...
asmjs Loading commit data...
ast Loading commit data...
base Loading commit data...
baseline Loading commit data...
bigint Loading commit data...
builtins Loading commit data...
codegen Loading commit data...
common Loading commit data...
compiler Loading commit data...
compiler-dispatcher Loading commit data...
d8 Loading commit data...
date Loading commit data...
debug Loading commit data...
deoptimizer Loading commit data...
diagnostics Loading commit data...
execution Loading commit data...
extensions Loading commit data...
flags Loading commit data...
handles Loading commit data...
heap Loading commit data...
ic Loading commit data...
init Loading commit data...
inspector Loading commit data...
interpreter Loading commit data...
json Loading commit data...
libplatform Loading commit data...
libsampler Loading commit data...
logging Loading commit data...
maglev Loading commit data...
numbers Loading commit data...
objects Loading commit data...
parsing Loading commit data...
profiler Loading commit data...
protobuf Loading commit data...
regexp Loading commit data...
roots Loading commit data...
runtime Loading commit data...
sandbox Loading commit data...
sanitizer Loading commit data...
snapshot Loading commit data...
strings Loading commit data...
tasks Loading commit data...
temporal Loading commit data...
third_party Loading commit data...
torque Loading commit data...
tracing Loading commit data...
trap-handler Loading commit data...
utils Loading commit data...
wasm Loading commit data...
web-snapshot Loading commit data...
zone Loading commit data...
DEPS Loading commit data...
DIR_METADATA Loading commit data...
OWNERS Loading commit data...