1. 06 Jun, 2018 1 commit
  2. 04 Jun, 2018 2 commits
  3. 10 Apr, 2018 1 commit
  4. 23 Mar, 2018 1 commit
  5. 19 Feb, 2018 2 commits
  6. 14 Feb, 2018 1 commit
  7. 02 Dec, 2017 1 commit
    • Mathias Bynens's avatar
      Normalize casing of hexadecimal digits · 822be9b2
      Mathias Bynens authored
      This patch normalizes the casing of hexadecimal digits in escape
      sequences of the form `\xNN` and integer literals of the form
      `0xNNNN`.
      
      Previously, the V8 code base used an inconsistent mixture of uppercase
      and lowercase.
      
      Google’s C++ style guide uses uppercase in its examples:
      https://google.github.io/styleguide/cppguide.html#Non-ASCII_Characters
      
      Moreover, uppercase letters more clearly stand out from the lowercase
      `x` (or `u`) characters at the start, as well as lowercase letters
      elsewhere in strings.
      
      BUG=v8:7109
      TBR=marja@chromium.org,titzer@chromium.org,mtrofin@chromium.org,mstarzinger@chromium.org,rossberg@chromium.org,yangguo@chromium.org,mlippautz@chromium.org
      NOPRESUBMIT=true
      
      Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_chromium_rel_ng
      Change-Id: I790e21c25d96ad5d95c8229724eb45d2aa9e22d6
      Reviewed-on: https://chromium-review.googlesource.com/804294
      Commit-Queue: Mathias Bynens <mathias@chromium.org>
      Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#49810}
      822be9b2
  8. 22 Nov, 2017 1 commit
  9. 09 Nov, 2017 1 commit
    • Michael Lippautz's avatar
      [heap] Remove independent handles · 667555c6
      Michael Lippautz authored
      Removes the handling of the flag independent. The flag will be removed in a followup.
      
      The patch changes handling of V8::PersistentBase that are set to Weak:
      - The Scavenger ignores the flag independent.
      - The Scavenger keeps alive anything that is marked as Active.
      - The Scavenger is free to drop weak handles of non-Active object if they 
        are otherwise dead.
      
      Active:
      - Any JSObject will always be marked Active.
      - Any JSApiObject will be marked Active if it has been modified (=has elements, properties, etc.)
      
      CQ_INCLUDE_TRYBOTS=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:780749
      Change-Id: If1f547f2419930ad9400bd3b11bdbf609cb57649
      Reviewed-on: https://chromium-review.googlesource.com/741801
      Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
      Reviewed-by: 's avatarKentaro Hara <haraken@chromium.org>
      Reviewed-by: 's avatarHannes Payer <hpayer@chromium.org>
      Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#49277}
      667555c6
  10. 06 Nov, 2017 1 commit
    • Michael Lippautz's avatar
      [heap] Introduce separate pass for reseting phantom handles on Scavenge · da5a8e3d
      Michael Lippautz authored
      Resetting phantom handles while keeping finalizers alive leads to the
      problem of eagerly resetting a handle although another finalizer keeps
      it (transitively) alive.
      
      This becomes a problem with internal pointers to Blink as without
      global handle a Blink GC is free to collect wrappables.
      
      This CL untangles finalizers handling from phantom handle resets by
      introducing a separate path for resetting.
      
      CQ_INCLUDE_TRYBOTS=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:781728
      Change-Id: Ica138b72942698fd996c6e9fe0bdc19cc432c010
      Reviewed-on: https://chromium-review.googlesource.com/753724
      Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
      Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#49162}
      da5a8e3d
  11. 02 Nov, 2017 1 commit
  12. 18 Oct, 2017 1 commit
  13. 13 Oct, 2017 1 commit
  14. 30 Aug, 2017 1 commit
  15. 01 Jun, 2017 1 commit
  16. 26 May, 2017 1 commit
  17. 22 May, 2017 1 commit
    • Michael Lippautz's avatar
      [heap] MinorMC: Identify unmodified global handles on the fly · 652c9522
      Michael Lippautz authored
      For the Scavenger we require a first pass over global handles for identifying
      unmodified nodes because the Scavenger might have already written forwarding
      pointers during scanning, making it hard to perform the proper checks.
      
      The minor MC does not mutate the object graph during marking and can thus merge
      this phase into the regular phase executed during marking roots.
      
      Furthermore, moves processing into the parallel marking phase of the minor MC
      collector.
      
      Bug: chromium:720477, chromium:651354
      Change-Id: Id33552124264e3ab0bdf34d22ac30c19c1522707
      Reviewed-on: https://chromium-review.googlesource.com/509550
      Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
      Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#45461}
      652c9522
  18. 19 May, 2017 1 commit
  19. 11 May, 2017 3 commits
    • Michael Lippautz's avatar
      Revert "Revert "Revert "Revert "[global-handles] Remove dead code"""" · 7a88f729
      Michael Lippautz authored
      This reverts commit 682d5369.
      
      Reason for revert: Didn't see that this was the Reland... now we should be in good state.
      
      Original change's description:
      > Revert "Revert "Revert "[global-handles] Remove dead code"""
      > 
      > This reverts commit c836a95e.
      > 
      > Reason for revert: I don't think this was related.
      > 
      > Original change's description:
      > > Revert "Revert "[global-handles] Remove dead code""
      > > 
      > > This reverts commit 58020872.
      > > 
      > > Reason for revert: Turned out to be a bot issue, reverting the revert. 
      > > 
      > > Original change's description:
      > > > Revert "[global-handles] Remove dead code"
      > > > 
      > > > This reverts commit e2890c19.
      > > > 
      > > > Reason for revert: Looks like this CL causes slowdown on multiple builders, Check tests timeout and raise exceptions on the bot. Possible it is a bot issue as well, see tracking bug - https://bugs.chromium.org/p/chromium/issues/detail?id=720606
      > > > 
      > > > Original change's description:
      > > > > [global-handles] Remove dead code
      > > > > 
      > > > > Bug: chromium:720477
      > > > > Change-Id: I090168c575c41b7038af5dfba6cd8973d1154c51
      > > > > Reviewed-on: https://chromium-review.googlesource.com/501790
      > > > > Reviewed-by: Hannes Payer <hpayer@chromium.org>
      > > > > Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
      > > > > Cr-Commit-Position: refs/heads/master@{#45241}
      > > > 
      > > > TBR=hpayer@chromium.org,mlippautz@chromium.org,jochen@chromium.org
      > > > NOPRESUBMIT=true
      > > > NOTREECHECKS=true
      > > > NOTRY=true
      > > > Bug: chromium:720477
      > > > 
      > > > Change-Id: I92f40d8c4dbfdb5208b3068648612e8c5b97fb20
      > > > Reviewed-on: https://chromium-review.googlesource.com/502029
      > > > Reviewed-by: Deepti Gandluri <gdeepti@chromium.org>
      > > > Commit-Queue: Deepti Gandluri <gdeepti@chromium.org>
      > > > Cr-Commit-Position: refs/heads/master@{#45243}
      > > 
      > > TBR=hpayer@chromium.org,gdeepti@chromium.org,mlippautz@chromium.org,jochen@chromium.org,v8-reviews@googlegroups.com
      > > NOPRESUBMIT=true
      > > NOTREECHECKS=true
      > > NOTRY=true
      > > Bug: chromium:720477
      > > 
      > > Change-Id: I70e190e0c27074228a8128aa849e5a419af915e8
      > > Reviewed-on: https://chromium-review.googlesource.com/502030
      > > Reviewed-by: Deepti Gandluri <gdeepti@chromium.org>
      > > Commit-Queue: Deepti Gandluri <gdeepti@chromium.org>
      > > Cr-Commit-Position: refs/heads/master@{#45244}
      > 
      > TBR=hpayer@chromium.org,gdeepti@chromium.org,mlippautz@chromium.org,jochen@chromium.org,v8-reviews@googlegroups.com
      > NOPRESUBMIT=true
      > NOTREECHECKS=true
      > NOTRY=true
      > Bug: chromium:720477
      > 
      > Change-Id: If3e4abea51d87546e25076b906a4c91e5ccf947b
      > Reviewed-on: https://chromium-review.googlesource.com/503007
      > Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
      > Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#45246}
      
      TBR=hpayer@chromium.org,gdeepti@chromium.org,mlippautz@chromium.org,jochen@chromium.org,v8-reviews@googlegroups.com
      NOPRESUBMIT=true
      NOTREECHECKS=true
      NOTRY=true
      Bug: chromium:720477
      
      Change-Id: Id7dc886cc20b3b36ca5bb643686fe4fe2e98a3a7
      Reviewed-on: https://chromium-review.googlesource.com/503008Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
      Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#45261}
      7a88f729
    • mlippautz's avatar
      [heap] MinorMC: Only iterate new space global handles for ptr updates · 4ea91a01
      mlippautz authored
      The reason we need this mode is that IterateRoots for the Scavenger only
      captures dependent weak nodes. This is also what we do for marking for the
      minor MC.
      
      Since the regular marking might also mark objects that are weakly
      (non-dependently) pointed to by nodes we need to capture all of them during
      pointers updating. The reason this works for the Scavenger is because we do one
      pass at the end of the scavenger (combined with resetting) that captures all
      those nodes.
      
      BUG=chromium:651354
      
      Review-Url: https://codereview.chromium.org/2869413002
      Cr-Commit-Position: refs/heads/master@{#45248}
      4ea91a01
    • Michael Lippautz's avatar
      Revert "Revert "Revert "[global-handles] Remove dead code""" · 682d5369
      Michael Lippautz authored
      This reverts commit c836a95e.
      
      Reason for revert: I don't think this was related.
      
      Original change's description:
      > Revert "Revert "[global-handles] Remove dead code""
      > 
      > This reverts commit 58020872.
      > 
      > Reason for revert: Turned out to be a bot issue, reverting the revert. 
      > 
      > Original change's description:
      > > Revert "[global-handles] Remove dead code"
      > > 
      > > This reverts commit e2890c19.
      > > 
      > > Reason for revert: Looks like this CL causes slowdown on multiple builders, Check tests timeout and raise exceptions on the bot. Possible it is a bot issue as well, see tracking bug - https://bugs.chromium.org/p/chromium/issues/detail?id=720606
      > > 
      > > Original change's description:
      > > > [global-handles] Remove dead code
      > > > 
      > > > Bug: chromium:720477
      > > > Change-Id: I090168c575c41b7038af5dfba6cd8973d1154c51
      > > > Reviewed-on: https://chromium-review.googlesource.com/501790
      > > > Reviewed-by: Hannes Payer <hpayer@chromium.org>
      > > > Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
      > > > Cr-Commit-Position: refs/heads/master@{#45241}
      > > 
      > > TBR=hpayer@chromium.org,mlippautz@chromium.org,jochen@chromium.org
      > > NOPRESUBMIT=true
      > > NOTREECHECKS=true
      > > NOTRY=true
      > > Bug: chromium:720477
      > > 
      > > Change-Id: I92f40d8c4dbfdb5208b3068648612e8c5b97fb20
      > > Reviewed-on: https://chromium-review.googlesource.com/502029
      > > Reviewed-by: Deepti Gandluri <gdeepti@chromium.org>
      > > Commit-Queue: Deepti Gandluri <gdeepti@chromium.org>
      > > Cr-Commit-Position: refs/heads/master@{#45243}
      > 
      > TBR=hpayer@chromium.org,gdeepti@chromium.org,mlippautz@chromium.org,jochen@chromium.org,v8-reviews@googlegroups.com
      > NOPRESUBMIT=true
      > NOTREECHECKS=true
      > NOTRY=true
      > Bug: chromium:720477
      > 
      > Change-Id: I70e190e0c27074228a8128aa849e5a419af915e8
      > Reviewed-on: https://chromium-review.googlesource.com/502030
      > Reviewed-by: Deepti Gandluri <gdeepti@chromium.org>
      > Commit-Queue: Deepti Gandluri <gdeepti@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#45244}
      
      TBR=hpayer@chromium.org,gdeepti@chromium.org,mlippautz@chromium.org,jochen@chromium.org,v8-reviews@googlegroups.com
      NOPRESUBMIT=true
      NOTREECHECKS=true
      NOTRY=true
      Bug: chromium:720477
      
      Change-Id: If3e4abea51d87546e25076b906a4c91e5ccf947b
      Reviewed-on: https://chromium-review.googlesource.com/503007Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
      Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#45246}
      682d5369
  20. 10 May, 2017 3 commits
  21. 25 Apr, 2017 1 commit
    • ulan's avatar
      Decouple root visitors from object visitors. · e671ed36
      ulan authored
      This patch adds a new interface called RootVisitor and changes the root
      iteration functions to accept a RootVisitor instead of an ObjectVisitor.
      
      Future CLs will change ObjectVisitor to provide the host object to all
      visiting functions, which will bring it in sync with static visitors.
      
      Having separate visitors for roots and objects removes ambiguity in
      VisitPointers and reduces chances of forgetting to record slots.
      
      This is intended as pure refactoring. All places that require behavior
      change are marked with TODO and will addressed in future CLs.
      
      BUG=chromium:709075
      
      Review-Url: https://codereview.chromium.org/2801073006
      Cr-Commit-Position: refs/heads/master@{#44852}
      e671ed36
  22. 07 Apr, 2017 1 commit
  23. 17 Mar, 2017 1 commit
    • titzer's avatar
      [rename] Rename internal field to embedder field. · 72e53936
      titzer authored
      This CL renames all occurrences of "internal field" to "embedder field"
      to prevent confusion. As it turns out, these fields are not internal to
      V8, but are actually embedder provided fields that should not be mucked
      with by the internal implementation of V8.
      
      Note that WASM does use these fields, and it should not.
      
      BUG=v8:6058
      
      Review-Url: https://codereview.chromium.org/2741683004
      Cr-Commit-Position: refs/heads/master@{#43900}
      72e53936
  24. 10 Mar, 2017 1 commit
  25. 02 Mar, 2017 1 commit
  26. 09 Jan, 2017 1 commit
  27. 03 Jan, 2017 1 commit
  28. 18 Nov, 2016 1 commit
  29. 11 Nov, 2016 1 commit
  30. 10 Nov, 2016 1 commit
  31. 19 Aug, 2016 1 commit
    • krasin's avatar
      Disable CFI on a few methods. · e3ad26fe
      krasin authored
      While they have not been observed to slow down real-world use cases,
      some blink_layout microbenchmarks feel better with these methods
      disabled. In order to be concervative at the launch time, lift
      the CFI defense for these methods.
      
      8/10 of these methods will become much faster when an optimization
      proposed in https://crbug.com/638056 -- we only need to load vptr
      once (before the loop) and have a single CFI check instead of
      a check per iteration.
      
      BUG=638056,634139
      
      Review-Url: https://codereview.chromium.org/2258003002
      Cr-Commit-Position: refs/heads/master@{#38759}
      e3ad26fe
  32. 14 Jun, 2016 1 commit
  33. 13 Jun, 2016 2 commits