• Samuel Groß's avatar
    [sandbox] Shrink sandbox on Android to 128GB · d812c9a9
    Samuel Groß authored
    The majority of 64-bit Android devices appear to be using a 40-bit
    address space, i.e. 512GB for userspace. Allocating a 256GB sandbox
    (plus 2x 32GB guard regions) may take too much of the address space and
    cause the creation of other address space reservations (e.g. the cppgc
    caged heap), which are created per worker, to fail later on.
    
    In general, we should try to limit the sandbox size to less than 1/4 of
    the address space, so this CL shinks the sandbox on Android to 128GB.
    
    Bug: chromium:1327131
    Change-Id: Ib48b45506ad6a7a5e15b95115c7642bf62a68fa1
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3652783Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
    Commit-Queue: Samuel Groß <saelo@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#80636}
    d812c9a9
v8-internal.h 26.3 KB