1. 10 Jun, 2020 1 commit
  2. 06 May, 2020 1 commit
    • Leszek Swirski's avatar
      [offthread] Unify compiler.cc finalization logic · 58b12f63
      Leszek Swirski authored
      This patch unfies the finalization logic between the various unoptimized
      compilation paths in compiler.cc, taking the various post-processings and
      fixups needed for off-thread finalization and performing them in the same
      order for the other finalizations.
      
      It also unifies the general compilation path between streaming script
      compilation, main-thread script compilation, and main-thread lazy
      compilation, making the main-thread paths both use an iterative execution
      and finalization, and making all three use the same job helper methods
      and overall finalization helper.
      
      Bug: chromium:1011762
      Change-Id: Ibe56f6d2f75a2deffbe9e0b600ded8a02293b722
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2172790
      Commit-Queue: Leszek Swirski <leszeks@chromium.org>
      Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#67609}
      58b12f63
  3. 24 Apr, 2020 1 commit
  4. 03 Mar, 2020 1 commit
    • Leszek Swirski's avatar
      [offthread] Allow off-thread bytecode finalization · 455cb6c0
      Leszek Swirski authored
      Add the remaining missing templatizations to allow an initial wiring in
      of the off-thread factory into streaming compilation finalization.
      
      The off-thread finalization is behind a flag, disabled by default:
          --finalize-streaming-on-background
      
      When the flag is enabled, background tasks will perform perform the
      finalization during their background execution, and will release the
      parser and compilation jobs once they are no longer needed.
      
      The implementation is complete enough for performance testing, but not
      enough for launch. Notably, there is no support for:
      
        * Class boilerplates (the code is marked unreachable),
        * Exceptions during finalization, i.e. parse/compile warnings/errors,
        * Allocation sampling,
        * Logging,
        * Asm.js,
        * Parallel complication tasks
        * Forced source positions (for "NeedsDetailedOptimizedCodeLineInfo()")
      
      This patch also adds some tracing events for the various stages of the
      off-thread finalization (including the main-thread merge) for further
      performance improvements.
      
      Bug: chromium:1011762
      Change-Id: Ia44fa56975dd689f0d92c1543b294cdb063eb199
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2066965
      Commit-Queue: Leszek Swirski <leszeks@chromium.org>
      Auto-Submit: Leszek Swirski <leszeks@chromium.org>
      Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
      Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
      Reviewed-by: 's avatarToon Verwaest <verwaest@chromium.org>
      Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#66566}
      455cb6c0
  5. 08 Jul, 2019 1 commit
  6. 03 Jul, 2019 2 commits
  7. 28 Jun, 2019 2 commits
  8. 26 Jun, 2019 1 commit
  9. 24 May, 2019 1 commit
  10. 23 May, 2019 1 commit
  11. 22 May, 2019 1 commit
  12. 04 Apr, 2019 1 commit
  13. 29 Oct, 2018 2 commits
  14. 26 Oct, 2018 1 commit
  15. 11 Oct, 2018 2 commits
  16. 28 Sep, 2018 1 commit
  17. 21 Nov, 2017 1 commit
  18. 27 Oct, 2017 1 commit
  19. 24 Oct, 2017 1 commit
  20. 10 Feb, 2017 3 commits
  21. 15 Nov, 2016 1 commit
  22. 18 May, 2015 1 commit
  23. 24 Mar, 2015 1 commit
    • marja's avatar
      [strong] Check strong mode free variables against the global object. · cb7279da
      marja authored
      Gather references to unbound variables where the reference (VariableProxy) is
      inside strong mode. Check them against the global object when a script is bound
      to a context (during compilation).
      
      This CL only checks unbound variables which are not inside lazy functions - TBD
      how do we solve that; alternatives: add developer mode which disables laziness /
      do the check whenever lazy functions are really compiled.
      
      BUG=v8:3956
      LOG=N
      
      Review URL: https://codereview.chromium.org/1005063002
      
      Cr-Commit-Position: refs/heads/master@{#27422}
      cb7279da
  24. 25 Feb, 2015 1 commit