• Samuel Groß's avatar
    [sandbox] Simplify sandbox initialization logic · 39f6787a
    Samuel Groß authored
    Instead of creating smaller sandboxes when the allocation of the virtual
    address space reservation fails, we now create partially-reserved
    sandboxes and halve the reservation size until the initialization
    succeeds. That way, the unreserved part of the sandbox can still be used
    for allocating objects.
    
    Bug: v8:10391
    Change-Id: I89a7790ffcda87ab71cc7b7f1101c0a1c3c62829
    Cq-Include-Trybots: luci.v8.try:v8_linux64_heap_sandbox_dbg_ng,v8_linux_arm64_sim_heap_sandbox_dbg_ng
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3714241Reviewed-by: 's avatarIgor Sheludko <ishell@chromium.org>
    Commit-Queue: Samuel Groß <saelo@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#81379}
    39f6787a
Name
Last commit
Last update
..
OWNERS Loading commit data...
external-pointer-inl.h Loading commit data...
external-pointer-table-inl.h Loading commit data...
external-pointer-table.cc Loading commit data...
external-pointer-table.h Loading commit data...
external-pointer.h Loading commit data...
sandbox.cc Loading commit data...
sandbox.h Loading commit data...
sandboxed-pointer-inl.h Loading commit data...
sandboxed-pointer.h Loading commit data...
testing.cc Loading commit data...
testing.h Loading commit data...