1. 10 Jul, 2019 1 commit
  2. 09 Jul, 2019 4 commits
  3. 08 Jul, 2019 7 commits
  4. 05 Jul, 2019 2 commits
  5. 03 Jul, 2019 1 commit
  6. 28 Jun, 2019 1 commit
  7. 24 Jun, 2019 2 commits
    • Santiago Aboy Solanes's avatar
      [cleanup][ptr-compr][turbofan] DecompressionElimination test cleanup · 21eb4b9d
      Santiago Aboy Solanes authored
      This is a CL that aims to do a general cleanup of DecompressionElimination
      to make it easier for devs to look at it, and to create new test cases.
      
      Combined direct decompression & compression tests since they can be
      summarized with a for loop in just one test that tries out
      all the combinations.
      
      Also created 'global' accesses to stop repeating them in every test.
      Same for compression and decompression ops.
      
      Added EXPECT in test cases that had none.
      
      Added dots after comments.
      
      Variables now use underscore instead of camelCase.
      
      Cq-Include-Trybots: luci.v8.try:v8_linux64_pointer_compression_rel_ng
      Cq-Include-Trybots: luci.v8.try:v8_linux64_arm64_pointer_compression_rel_ng
      Bug: v8:8977, v8:7703, v8:9183
      Change-Id: I38a5c6549e0b4ff89c3271ead23b626e8b6b4843
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1628788Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
      Commit-Queue: Ross McIlroy <rmcilroy@chromium.org>
      Auto-Submit: Santiago Aboy Solanes <solanes@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#62345}
      21eb4b9d
    • Clemens Hammacher's avatar
      [owners] Remove redundant OWNERS files in test/ · cc21e58d
      Clemens Hammacher authored
      We have a global test/OWNERS that has "file://COMMON_OWNERS".
      This CL removes redundant OWNERS files in test/ subdirectories and
      removes redundant entries from OWNERS files we need to keep for
      special per-file entries.
      
      R=yangguo@chromium.org, machenbach@chromium.org
      CC=​​jkummerow@chromium.org
      
      Bug: v8:9247
      Change-Id: Ic2e8cbe8e379d7d23c86c6164305e65807f28ed3
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1674024Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
      Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
      Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#62336}
      cc21e58d
  8. 21 Jun, 2019 2 commits
    • Ross McIlroy's avatar
      [SFI] Always store function_literal_id in SFI. · f92d7196
      Ross McIlroy authored
      Calling FindIndexInScript performs a linear search on the script functions and can
      take considerable time. With Bytecode flushing we will lose the function_literal_id
      and have to call FindIndexInScript if we ever recompile the flushed function. This
      can take a significant proportion of the recompilation time and has caused regressions
      in rendering times for some web applications (e.g, 395ms in FindIndexInScript for 132ms
      spent lazily re-compiling code).
      
      To avoid this, add function_literal_id back into the SFI and remove it from
      UnoptimizedCompileInfo. This will slightly regress memory usage (particularly
      in cases where many of the SFIs are compiled), however it means we can remove
      the FindIndexInScript function and avoid these long-tail regressions when
      bytecode is flushed.
      
      BUG=chromium:965833
      
      Change-Id: Ia31e82eb6c871a6d698a518326a8555822a7a1d8
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1669700Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
      Commit-Queue: Ross McIlroy <rmcilroy@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#62319}
      f92d7196
    • Sigurd Schneider's avatar
      [base] Move v8memory.h to base/memory.h · dd65ef6a
      Sigurd Schneider authored
      v8memory.h does not have V8 specific definitions, and having it in base
      makes it clear that every component may include the file. It also
      ensures that including it does not create spurious dependencies on
      v8_base.
      
      Change-Id: I565f63b25f33a9ada19d7b2ac5990863ab17f4a7
      Bug: v8:9183, v8:8855
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1657923
      Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
      Reviewed-by: 's avatarClemens Hammacher <clemensh@chromium.org>
      Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
      Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#62309}
      dd65ef6a
  9. 18 Jun, 2019 3 commits
  10. 17 Jun, 2019 2 commits
  11. 14 Jun, 2019 2 commits
  12. 12 Jun, 2019 2 commits
    • Mike Stanton's avatar
      [turbofan] JSHeapBroker logging respects --trace-turbo-filter · 648ff562
      Mike Stanton authored
      As a component of the wider Turbofan logging scheme, it makes sense
      for JSHeapBroker logging to come through flags specified in the
      OptimizedCompilationInfo class, which uses --trace-turbo-filter
      to control which functions are logged.
      
      Bug: v8:7790
      Change-Id: I3b068d8be78867ab0bd9607dda9eca4123b9d7b1
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1655297Reviewed-by: 's avatarMaya Lekova <mslekova@chromium.org>
      Commit-Queue: Michael Stanton <mvstanton@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#62111}
      648ff562
    • Benedikt Meurer's avatar
      [counters] Introduce proper bottleneck for FunctionCallback. · ea420655
      Benedikt Meurer authored
      API calls made via the CallApiCallback builtin, which is used from the
      ICs and optimized code, are currently misattributed to the wrong counter
      InvokeFunctionCallback instead of FunctionCallback. In addition we don't
      use the C trampoline when only runtime call stats are enabled, but the
      Chrome DevTools profiler is not active, which means that these calls
      will not be attrituted properly at all, and that had to be worked around
      using all kinds of tricks (i.e. disabling fast-paths in ICs when RCS is
      active and not inlining calls/property accesses into optimized code
      depending on the state of RCS).
      
      All of this was really brittle and only due to the fact that the central
      builtin didn't properly check for RCS (in addition to checking for the
      CDT profiler). With this fix it's now handled in a central place and
      attributed to the correct category, so user code doesn't need to worry
      about RCS anymore and can just call straight into the fast-path.
      
      Drive-by-fix: Do the same for AccessorInfo getter calls, which share the
      core hand-written native code with the API callback logic.
      
      Bug: v8:9183
      Change-Id: Id0cd99d3dd676635fe3272b67cd76a19a9a9cea4
      Cq-Include-Trybots: luci.chromium.try:linux-rel,win7-rel
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1651470
      Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
      Auto-Submit: Benedikt Meurer <bmeurer@chromium.org>
      Reviewed-by: 's avatarToon Verwaest <verwaest@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#62109}
      ea420655
  13. 11 Jun, 2019 3 commits
  14. 08 Jun, 2019 1 commit
  15. 07 Jun, 2019 1 commit
    • Georg Schmid's avatar
      [ptr-compr] Revisit transformed Phis in Decompression Elimination · 94ae207b
      Georg Schmid authored
      Currently, decompression elimination may reduce phis by pushing decompressions in the value inputs of the phi "down" and replacing it by a single decompression following the phi node. Because of the way that the replacement is currently done, other reducers in the same phase will not generally get a chance to revisit the modified phi.
      
      In the specific case of v8:9335 this blocked an additional optimization in CommonOperatorReducer from being applied, causing the overall load elimination test to fail.
      
      This CL fixes the replacement behavior in decompression elimination to also allow for revisitations of the modified phi node.
      
      Bug: v8:9335 v8:9336
      Change-Id: I3ca5686dacb41a525160b08456905ba77cf28b39
      
      Cq-Include-Trybots: luci.v8.try:v8_linux64_pointer_compression_rel_ng
      Cq-Include-Trybots: luci.v8.try:v8_linux64_arm64_pointer_compression_rel_ng
      Change-Id: I3ca5686dacb41a525160b08456905ba77cf28b39
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1648238Reviewed-by: 's avatarSantiago Aboy Solanes <solanes@chromium.org>
      Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
      Commit-Queue: Georg Schmid <gsps@google.com>
      Cr-Commit-Position: refs/heads/master@{#62054}
      94ae207b
  16. 06 Jun, 2019 3 commits
  17. 05 Jun, 2019 1 commit
  18. 04 Jun, 2019 2 commits