• Clemens Backes's avatar
    [wasm] Remove process-wide address space limit · 2cbcf6e0
    Clemens Backes authored
    The address space limit puts an arbitrary cap on the total reservation
    size, thus limiting the total number of Wasm memories to around 100 on
    64-bit systems.
    Since the usable address space on 64 bit is much larger than the
    1TB+4GB limit, this makes us reject code that we could otherwise just
    execute.
    
    This CL thus removes that limit completely.
    
    See the linked issue for more discussion, including security
    considerations.
    
    R=jkummerow@chromium.org, rsesek@chromium.org
    
    Bug: v8:12076
    Change-Id: I1f61511d68efdab1f8cef4e09c0a39fc1d6fed60
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3190476Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
    Commit-Queue: Clemens Backes <clemensb@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#77161}
    2cbcf6e0
backing-store.h 11.3 KB