1. 19 Oct, 2017 23 commits
  2. 18 Oct, 2017 17 commits
    • Michael Lippautz's avatar
      Revert "Reland "[heap] ArrayBufferTracker: Only consider committed size"" · e1e5f6cf
      Michael Lippautz authored
      This reverts commit 46f9d5a2.
      
      Reason for revert: Aborted compaction pages require separate handling now that we consider byteLength which is a Number.
      
      Original change's description:
      > Reland "[heap] ArrayBufferTracker: Only consider committed size"
      > 
      > This is a reland of 6488c9e5
      > Original change's description:
      > > [heap] ArrayBufferTracker: Only consider committed size
      > > 
      > > - Only consider commited size of ABs.
      > > - Compute freed memory from retained sizes byte length might be a
      > >   HeapNumber and thus prohibited from accessing (as it may be already
      > >   collected).
      > > 
      > > CQ_INCLUDE_TRYBOTS=master.tryserver.v8:v8_linux64_tsan_rel;master.tryserver.v8:v8_linux64_tsan_concurrent_marking_rel_ng;master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel
      > > 
      > > Bug: chromium:775896
      > > Change-Id: Ia0bed66afac5e4d5ed58194950a55156e19cec72
      > > Reviewed-on: https://chromium-review.googlesource.com/725722
      > > Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
      > > Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
      > > Cr-Commit-Position: refs/heads/master@{#48699}
      > 
      > Tbr: ulan@chromium.org
      > Bug: chromium:775896
      > Change-Id: Ibbec1ffa8fe90d3668f0fe0c1b8b9997b5fd644e
      > Cq-Include-Trybots: master.tryserver.v8:v8_linux64_tsan_rel;master.tryserver.v8:v8_linux64_tsan_concurrent_marking_rel_ng;master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel
      > Reviewed-on: https://chromium-review.googlesource.com/726579
      > Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
      > Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#48707}
      
      TBR=ulan@chromium.org,mlippautz@chromium.org
      
      Change-Id: If678ad73326ceb24e85f3a7bf6350df05991005f
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Bug: chromium:775896
      Cq-Include-Trybots: master.tryserver.v8:v8_linux64_tsan_rel;master.tryserver.v8:v8_linux64_tsan_concurrent_marking_rel_ng;master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel
      Reviewed-on: https://chromium-review.googlesource.com/726799Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
      Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#48708}
      e1e5f6cf
    • Michael Lippautz's avatar
      Reland "[heap] ArrayBufferTracker: Only consider committed size" · 46f9d5a2
      Michael Lippautz authored
      This is a reland of 6488c9e5
      Original change's description:
      > [heap] ArrayBufferTracker: Only consider committed size
      > 
      > - Only consider commited size of ABs.
      > - Compute freed memory from retained sizes byte length might be a
      >   HeapNumber and thus prohibited from accessing (as it may be already
      >   collected).
      > 
      > CQ_INCLUDE_TRYBOTS=master.tryserver.v8:v8_linux64_tsan_rel;master.tryserver.v8:v8_linux64_tsan_concurrent_marking_rel_ng;master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel
      > 
      > Bug: chromium:775896
      > Change-Id: Ia0bed66afac5e4d5ed58194950a55156e19cec72
      > Reviewed-on: https://chromium-review.googlesource.com/725722
      > Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
      > Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#48699}
      
      Tbr: ulan@chromium.org
      Bug: chromium:775896
      Change-Id: Ibbec1ffa8fe90d3668f0fe0c1b8b9997b5fd644e
      Cq-Include-Trybots: master.tryserver.v8:v8_linux64_tsan_rel;master.tryserver.v8:v8_linux64_tsan_concurrent_marking_rel_ng;master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel
      Reviewed-on: https://chromium-review.googlesource.com/726579Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
      Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#48707}
      46f9d5a2
    • Clemens Hammacher's avatar
      [arm] [simulator] Do also execute tests on real hardware · 8bacd848
      Clemens Hammacher authored
      In order to avoid writing tests that *only* pass in the simulator, but
      not on real hardware, do also execute the simulator tests on real
      hardware.
      
      R=ahaas@chromium.org, rodolph.perfetta@arm.com
      
      Bug: v8:6947
      Change-Id: Ibdf1719fff20e17620c0aaa343d7ea28e48f3837
      Reviewed-on: https://chromium-review.googlesource.com/722961
      Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
      Reviewed-by: 's avatarRodolph Perfetta <rodolph.perfetta@arm.com>
      Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#48706}
      8bacd848
    • Alexey Kozyatinskiy's avatar
      [inspector] added V8InspectorClient::maxAsyncCallStackDepthChanged · b1cd96ec
      Alexey Kozyatinskiy authored
      R=dgozman@chromium.org
      
      Bug: none
      Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_chromium_rel_ng
      Change-Id: I0fa10978266feb3c3907ce1f3386ae7a34a33582
      Reviewed-on: https://chromium-review.googlesource.com/726490Reviewed-by: 's avatarDmitry Gozman <dgozman@chromium.org>
      Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#48705}
      b1cd96ec
    • Junliang Yan's avatar
      PPC/s390: fix Generate_DeserializeLazy to use ip for tail call · 3e48c30a
      Junliang Yan authored
      Fix lazy deserialization. ip needs to be the address of the calling
      function
      
      R=joransiu@ca.ibm.com, jbarboza@ca.ibm.com, michael_dawson@ca.ibm.com
      
      Bug: 
      Change-Id: I0852d12328f9a0585c38afa5e121b8b4116520dc
      Reviewed-on: https://chromium-review.googlesource.com/726420Reviewed-by: 's avatarJoran Siu <joransiu@ca.ibm.com>
      Commit-Queue: Junliang Yan <jyan@ca.ibm.com>
      Cr-Commit-Position: refs/heads/master@{#48704}
      3e48c30a
    • Junliang Yan's avatar
      PPC: fix AssembleMove and Push in codegen · f4063610
      Junliang Yan authored
      R=joransiu@ca.ibm.com, jbarboza@ca.ibm.com, michael_dawson@ca.ibm.com
      
      Bug: 
      Change-Id: I616ccaa956929a3816a9026bf54cabf6041590ec
      Reviewed-on: https://chromium-review.googlesource.com/726182Reviewed-by: 's avatarJoran Siu <joransiu@ca.ibm.com>
      Commit-Queue: Joran Siu <joransiu@ca.ibm.com>
      Commit-Queue: Junliang Yan <jyan@ca.ibm.com>
      Cr-Commit-Position: refs/heads/master@{#48703}
      f4063610
    • Junliang Yan's avatar
      Fix constant pool printing error · 952540d2
      Junliang Yan authored
      the size of constant pool should be constant_pool_offset to safepoint_offset
      
      Bug: 
      Change-Id: I2290ed49ccbeaa12706f2e7c37b72c96bec11fd3
      Reviewed-on: https://chromium-review.googlesource.com/721960
      Commit-Queue: Junliang Yan <jyan@ca.ibm.com>
      Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#48702}
      952540d2
    • Bill Budge's avatar
      Revert "[Memory] Move GetRandomMmapAddr from base::OS platform to v8::internal." · 5c461ae8
      Bill Budge authored
      This reverts commit d607f1e7.
      
      Reason for revert: Suspected cause of hanging tests:
      
      https://bugs.chromium.org/p/v8/issues/detail?id=6927#c13
      
      Original change's description:
      > [Memory] Move GetRandomMmapAddr from base::OS platform to v8::internal.
      > 
      > - Moves GetRandomMmapAddr from platform to v8::internal allocation
      >   primitives, in preparation for delegating this to the embedder.
      > - Adds hint parameters to OS functions that used to use this function.
      > 
      > Bug: chromium:756050
      > Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
      > Change-Id: Iad72e6eac9c08a3e22c2cd2b2905623b8e514ae0
      > Reviewed-on: https://chromium-review.googlesource.com/677777
      > Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
      > Commit-Queue: Bill Budge <bbudge@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#48124}
      
      TBR=bbudge@chromium.org,ulan@chromium.org
      
      # Not skipping CQ checks because original CL landed > 1 day ago.
      
      Bug: chromium:756050
      Change-Id: I2c515934906e67b47ceea2863bc2992ac1d23ab3
      Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
      Reviewed-on: https://chromium-review.googlesource.com/726319
      Commit-Queue: Bill Budge <bbudge@chromium.org>
      Reviewed-by: 's avatarBill Budge <bbudge@chromium.org>
      Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#48701}
      5c461ae8
    • Michael Lippautz's avatar
      Revert "[heap] ArrayBufferTracker: Only consider committed size" · d10b6218
      Michael Lippautz authored
      This reverts commit 6488c9e5.
      
      Reason for revert: wasm grow memory test fails; requires investigation.
      
      https://build.chromium.org/p/client.v8/builders/V8%20Linux%20-%20shared/builds/20548/steps/Check/logs/grow-memory
      
      Original change's description:
      > [heap] ArrayBufferTracker: Only consider committed size
      > 
      > - Only consider commited size of ABs.
      > - Compute freed memory from retained sizes byte length might be a
      >   HeapNumber and thus prohibited from accessing (as it may be already
      >   collected).
      > 
      > CQ_INCLUDE_TRYBOTS=master.tryserver.v8:v8_linux64_tsan_rel;master.tryserver.v8:v8_linux64_tsan_concurrent_marking_rel_ng;master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel
      > 
      > Bug: chromium:775896
      > Change-Id: Ia0bed66afac5e4d5ed58194950a55156e19cec72
      > Reviewed-on: https://chromium-review.googlesource.com/725722
      > Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
      > Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#48699}
      
      TBR=ulan@chromium.org,mlippautz@chromium.org
      
      Change-Id: I0f8b28b876b09f149ff330e532e57cf1871e3961
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Bug: chromium:775896
      Cq-Include-Trybots: master.tryserver.v8:v8_linux64_tsan_rel;master.tryserver.v8:v8_linux64_tsan_concurrent_marking_rel_ng;master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel
      Reviewed-on: https://chromium-review.googlesource.com/726440Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
      Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#48700}
      d10b6218
    • Michael Lippautz's avatar
      [heap] ArrayBufferTracker: Only consider committed size · 6488c9e5
      Michael Lippautz authored
      - Only consider commited size of ABs.
      - Compute freed memory from retained sizes byte length might be a
        HeapNumber and thus prohibited from accessing (as it may be already
        collected).
      
      CQ_INCLUDE_TRYBOTS=master.tryserver.v8:v8_linux64_tsan_rel;master.tryserver.v8:v8_linux64_tsan_concurrent_marking_rel_ng;master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel
      
      Bug: chromium:775896
      Change-Id: Ia0bed66afac5e4d5ed58194950a55156e19cec72
      Reviewed-on: https://chromium-review.googlesource.com/725722
      Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
      Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#48699}
      6488c9e5
    • Camillo Bruni's avatar
      [tools] Warn when using too few arguments for macros in js2c.py · fd17b50c
      Camillo Bruni authored
      Change-Id: I82782f170c48dbe3f853dc04ec7e07e3968583f3
      Reviewed-on: https://chromium-review.googlesource.com/724183Reviewed-by: 's avatarMathias Bynens <mathias@chromium.org>
      Commit-Queue: Camillo Bruni <cbruni@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#48698}
      fd17b50c
    • Mike Stanton's avatar
      [Turbofan] Array.prototype.filter inlining. · 9fd029ef
      Mike Stanton authored
      Support inlining of Array.prototype.filter in TurboFan.
      
      (relanding with fix for chromium:766635, visible in the
       diff between patchsets 2 and 3)
      
      Bug: v8:1956,chromium:766635
      Change-Id: Ia50be6770602513e3d91d17e2b2ca9d3b0e8b42a
      Reviewed-on: https://chromium-review.googlesource.com/721119
      Commit-Queue: Michael Stanton <mvstanton@chromium.org>
      Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#48697}
      9fd029ef
    • Clemens Hammacher's avatar
      [base] Generalize bits::CountPopulation · 51f4d2e9
      Clemens Hammacher authored
      This makes the function constexpr and implements it for arbitrary
      unsigned integer types (up to 64 bits, but this can be extended if
      needed).
      
      R=mstarzinger@chromium.org
      
      Bug: v8:6600, v8:6921
      Change-Id: I86d427238fadd55abb5a27f31ed648d4b02fc358
      Reviewed-on: https://chromium-review.googlesource.com/718457
      Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
      Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#48696}
      51f4d2e9
    • Toon Verwaest's avatar
      [builtins] Remove smi-tagged argc support in CheckStackOverflow · 6cfc2d36
      Toon Verwaest authored
      Bug: v8:6921
      Change-Id: I370b1c3f8fbf3f5478ac7779205083e05710ea15
      Reviewed-on: https://chromium-review.googlesource.com/726081
      Commit-Queue: Toon Verwaest <verwaest@chromium.org>
      Commit-Queue: Igor Sheludko <ishell@chromium.org>
      Reviewed-by: 's avatarIgor Sheludko <ishell@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#48695}
      6cfc2d36
    • Clemens Hammacher's avatar
      Generalize V8_INFINITY and make it constexpr · 9db8f821
      Clemens Hammacher authored
      Since we don't support gcc 2.96-4.0 any more, we can generalize the
      V8_INFINITY macro to always use std::numeric_limits<double>::infinity().
      This also makes value constexpr on all systems.
      
      R=tebbi@chromium.org
      
      Change-Id: Ifa97dd2ee6d2c1e179c45f60a82d1ea8481e0590
      Reviewed-on: https://chromium-review.googlesource.com/725733Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
      Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#48694}
      9db8f821
    • Ulan Degenbaev's avatar
      Disable stress-incremental-marking flag for tests using a lot of memory. · 27a75926
      Ulan Degenbaev authored
      These tests are currently failing on TSAN bot with OOM when running
      with the stress-incremental-marking flag.
      
      Bug: v8:6924
      Change-Id: I50b9a7142b2e8759f4bc327516f8c06ce1779777
      Reviewed-on: https://chromium-review.googlesource.com/723427
      Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
      Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#48693}
      27a75926
    • Ross McIlroy's avatar
      [asm_wasm] Avoid allocating feedback vector for asm_wasm code. · 1340d4ec
      Ross McIlroy authored
      A followup CL will move feedback slot allocation to the bytecode generator,
      which means it won't be done for asm_wasm code and the function will have an
      incorrect vector spec. Since asm_wasm doesn't use a feedback vector, just
      prevent it from being allocated for this code.
      
      BUG=v8:6921
      
      Change-Id: I65a06f60bd75b54e5ef0df323184aad841e26177
      Reviewed-on: https://chromium-review.googlesource.com/725703Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
      Commit-Queue: Ross McIlroy <rmcilroy@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#48692}
      1340d4ec