1. 27 Feb, 2019 36 commits
  2. 26 Feb, 2019 4 commits
    • Alexei Filippov's avatar
      [inspector] Fix js_protocol.pdl build dependency · ea8056ff
      Alexei Filippov authored
      The master protocol description file is js_protocol.pdl, not .json
      
      TBR=yangguo@chromium.org
      
      Change-Id: Ibaef314a63c3e1665ed56bc8c66ca18a00c7fd4f
      Reviewed-on: https://chromium-review.googlesource.com/c/1489976Reviewed-by: 's avatarDmitry Gozman <dgozman@chromium.org>
      Commit-Queue: Alexei Filippov <alph@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#59882}
      ea8056ff
    • Benedikt Meurer's avatar
      [x64] Teach ArgumentsAdaptorTrampoline about is_safe_to_skip_adapt_arguments. · 07ee7ead
      Benedikt Meurer authored
      This adds support for dynamically checking the newly introduced
      is_safe_to_skip_adapt_arguments flag on the SharedFunctionInfo inside
      the ArgumentsAdaptorTrampoline builtin, so that if there's an arguments
      mismatch, but said bit is set, we can just massage the current stack
      frame according to the SharedFunctionInfo and don't need to create an
      arguments adaptor frame.
      
      This improves the general (baseline) performance of calls with arguments
      mismatches by up to 35%, as can be seen with the test case from the tracking
      bug, which goes from around
      
        callUnderApplication: 608 ms.
        callOverApplication1: 633 ms.
        callOverApplication2: 635 ms.
      
      to
      
        callUnderApplication: 390 ms.
        callOverApplication1: 439 ms.
        callOverApplication2: 443 ms.
      
      when the TurboFan fast-path (that was previously introduced) is forcibly
      disabled. That's a pretty solid baseline improvement and there's probably
      still some room for further improvement (i.e. avoid loading the SFI multiple
      times, etc.).
      
      Drive-by-fix: Refactor and cleanup the ArgumentsAdaptorTrampoline
      builtin a bit to make it more efficient and easier to read (it's still
      pretty messy, but I don't wanna change too many things at once).
      
      This is only the initial x64 port, since for ia32 we're really short on
      registers and it might not even pay off (initial prototype shows a lot
      less performance impact). The arm and arm64 port is in progress and will
      land once ready.
      
      Bug: v8:8834, v8:8895
      Change-Id: I2e1c8e4767a808a43b932487fdedc0e44cdd35c5
      Reviewed-on: https://chromium-review.googlesource.com/c/1488751
      Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
      Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#59881}
      07ee7ead
    • Sergey Ulanov's avatar
      [Fuchsia] Always call zx_vmo_replace_as_executable() in OS::Allocate() · 47210f48
      Sergey Ulanov authored
      OS::Allocate() previously was calling zx_vmo_replace_as_executable()
      when executable access is requested. This breaks the case when the
      OS::SetPermission() is called to mark that memory as executable later.
      Updated it to call zx_vmo_replace_as_executable() for all VMOs.
      
      This solution is not ideal, but it's consistent with other platforms,
      so it's acceptable short-term.
      
      Bug: v8:8899, chromium:934582
      Change-Id: Ifeb818c93d8b9c80e73a057f5e6f3ca5a7b1c23f
      Reviewed-on: https://chromium-review.googlesource.com/c/1483613Reviewed-by: 's avatarWez <wez@chromium.org>
      Commit-Queue: Sergey Ulanov <sergeyu@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#59880}
      47210f48
    • Sigurd Schneider's avatar
      [cctest] Disable flaky test · 8337a29b
      Sigurd Schneider authored
      TBR=petermarshall@chromium.org
      
      Change-Id: I663735761c4ae730337b1381b52c99371eae2951
      Notry: true
      Bug: v8:5193
      Reviewed-on: https://chromium-review.googlesource.com/c/1489084Reviewed-by: 's avatarSigurd Schneider <sigurds@chromium.org>
      Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#59879}
      8337a29b