1. 22 Sep, 2021 8 commits
  2. 21 Sep, 2021 29 commits
  3. 20 Sep, 2021 3 commits
    • Samuel Groß's avatar
      Reduce the size of the virtual memory cage if necessary · 95ca07c8
      Samuel Groß authored
      At least for the initial rollout, we will gracefully handle cage
      reservation failures by shrinking the size of the cage until the
      reservation succeeds or the size drops below the mimimum cage size. This
      will allow collecting statistics on how often cage reservation failures
      occur in practice for different cage sizes, which will in turn influence
      the decision on how to handle them in the future.
      
      Bug: chromium:1218005
      Change-Id: Ica58951ba51ac01bc2c387b34dfc8d9051ed4d75
      Cq-Include-Trybots: luci.v8.try:v8_linux64_heap_sandbox_dbg_ng
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3168347Reviewed-by: 's avatarIgor Sheludko <ishell@chromium.org>
      Commit-Queue: Samuel Groß <saelo@chromium.org>
      Cr-Commit-Position: refs/heads/main@{#76948}
      95ca07c8
    • Jakob Gruber's avatar
      [isolate-data] Split builtin tables into tiers · 06af754c
      Jakob Gruber authored
      .. for more efficient access to builtins from generated code.
      
      Root-relative accesses tend to be faster and produce more compact
      code when the root-relative offset is small. IsolateData contains
      a few large tables (roots, external references, builtins), resulting
      in very large offsets in general.
      
      This CL starts by splitting the builtin table into tiers: tier 0
      is a minimal set of perf-critical builtins that should be cheap to
      access. The offset to tier 0 builtins is guaranteed to be small.
      
      The full builtin table also remains in IsolateData for occasions in
      which we need to lookup builtins by index.
      
      In future work, we can also split external references and roots into
      tiers.
      
      On x64, this reduces deopt exit sizes from 7 to 4 bytes and from 12
      to 9 bytes (dynamic map checks / EagerWithResume deopts).
      
      Bug: v8:12203,v8:8661
      Change-Id: I5a9ed22b0e00682aca1abcf15892ae1458dbdd70
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3162142
      Commit-Queue: Jakob Gruber <jgruber@chromium.org>
      Reviewed-by: 's avatarDominik Inführ <dinfuehr@chromium.org>
      Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
      Cr-Commit-Position: refs/heads/main@{#76947}
      06af754c
    • Georg Neis's avatar
      Reland "[compiler] Fix a few test flakes and reenable the tests" · 165e725d
      Georg Neis authored
      This is a reland of 5dde281c,
      after also fixing the ic-migrated-... test, in which an object died
      too early.
      
      Original change's description:
      > [compiler] Fix a few test flakes and reenable the tests
      >
      > Bug: v8:12173
      > Change-Id: I2983be9133f8ff4d1740e8eba05a3c29d603dfc3
      > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3168270
      > Auto-Submit: Georg Neis <neis@chromium.org>
      > Reviewed-by: Maya Lekova <mslekova@chromium.org>
      > Commit-Queue: Maya Lekova <mslekova@chromium.org>
      > Commit-Queue: Georg Neis <neis@chromium.org>
      > Cr-Commit-Position: refs/heads/main@{#76939}
      
      Bug: v8:12173
      Change-Id: If385e5c826b8470ef67f12705c5171f330f6cd57
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3171353
      Auto-Submit: Georg Neis <neis@chromium.org>
      Reviewed-by: 's avatarMaya Lekova <mslekova@chromium.org>
      Commit-Queue: Georg Neis <neis@chromium.org>
      Cr-Commit-Position: refs/heads/main@{#76946}
      165e725d