1. 22 Jan, 2020 5 commits
  2. 21 Jan, 2020 32 commits
  3. 20 Jan, 2020 3 commits
    • Wez's avatar
      [test] Configure GTest for thread-safe death tests. · 26f2c1cc
      Wez authored
      Most V8 unit tests are multi-threaded, so configure GTest to use the
      thread-safe GTest implementation by default.
      
      This can be overridden on a per-test basis by setting:
        testing::FLAGS_gtest_death_test_style = "fast";
      during the test's SetUp() (see the GTest documentation for details).
      
      Bug: v8:10143
      Change-Id: I7414c5d8ae22eb8d9b8c4813f958ca571e1d0310
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2011085
      Commit-Queue: Wez <wez@chromium.org>
      Auto-Submit: Wez <wez@chromium.org>
      Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#65873}
      26f2c1cc
    • Wez's avatar
      [test] Correctly restore allocator on SequentialUnmapperTest teardown. · 1a9eee0a
      Wez authored
      The SequentialUnmapperTest replaces the process-global PageAllocator
      with a wrapper which tracks allocations.  The suite was deleting the
      tracking allocator without first restoring the original PageAllocator,
      causing any subsequent tests which tried to use it to use-after-free.
      
      Bug: chromium:934932
      Change-Id: I0f69b6a07542a3f381724afdbfb2e9b67a9f39de
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2010113
      Commit-Queue: Wez <wez@chromium.org>
      Commit-Queue: Michael Achenbach <machenbach@chromium.org>
      Auto-Submit: Wez <wez@chromium.org>
      Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#65872}
      1a9eee0a
    • Georg Neis's avatar
      [turbofan] Don't verify context input of Create*Context nodes · e33d6338
      Georg Neis authored
      The verifier tried to assert that the context input of Create*Context
      nodes has type OtherInternal (all Context constants have that type).
      This didn't quite work because of OSR values so actually it checked
      something much weaker. And what it checked still doesn't work because
      of dead code, in which the context input might statically be known to
      be the undefined value. I'm removing the assertion entirely now.
      
      I suspect that there are other assertions in the verifier that don't
      hold in the OSR code or in dead code. We are discussing a more general
      solution such as inserting TypeGuards in the relevant cases.
      
      Bug: chromium:1037771
      Change-Id: I6fb59c60e7120d5984ea0fe140269f2df6de8708
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2010792
      Commit-Queue: Tobias Tebbi <tebbi@chromium.org>
      Auto-Submit: Georg Neis <neis@chromium.org>
      Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#65871}
      e33d6338