1. 23 Apr, 2020 1 commit
    • Leszek Swirski's avatar
      [compile] Add an UnoptimizedCompileState class · 6458a529
      Leszek Swirski authored
      Move the persistent compilation state and Isolate inputs (such as the
      allocator, shared AST constants, hash seed, logger, etc.) which survives
      across both parse and compile, out of ParseInfo and into a new
      UnoptimizedCompileState class. Also add UnoptimizedCompilePerThreadState
      for per-thread state such as stack limit and RCS.
      
      In particular, this new state survives the ParseInfo being destructed,
      which means it is available after off-thread finalization. This allows a
      followup to access the PendingCompilationErrorHandler after finalization
      and report errors on merge.
      
      Bug: v8:10314
      Change-Id: Ia186bc0f267c704efd771aa1895f50a4525a8364
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2105636
      Commit-Queue: Leszek Swirski <leszeks@chromium.org>
      Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#67329}
      6458a529
  2. 10 Sep, 2019 1 commit
  3. 24 May, 2019 1 commit
  4. 23 May, 2019 3 commits
  5. 21 May, 2019 1 commit
  6. 15 Feb, 2019 1 commit
  7. 28 Nov, 2018 1 commit
  8. 09 Nov, 2018 1 commit
    • Clemens Hammacher's avatar
      Extract lambda tasks to task-utils.h · 578fe721
      Clemens Hammacher authored
      This extracts the lambda tasks to an own compilation unit and header
      file. Additionally, it addresses the TODO to avoid templates and just
      store the function to execute in an std::function.
      Third, it provides the same functionality for pure (non-cancellable
      non-idle) tasks.
      Last, it removes the "Lambda" part from the methods, because we can
      actually instantiate it with anything that is invocable (function
      pointer, lambda, functor, ...).
      
      R=ahaas@chromium.org
      
      Bug: v8:8238
      Change-Id: I2f613f5b15ee208f215bbf74bd6d1d41889fd637
      Reviewed-on: https://chromium-review.googlesource.com/c/1328923
      Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
      Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
      Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#57397}
      578fe721
  9. 31 Oct, 2018 3 commits
  10. 15 Oct, 2018 1 commit
  11. 12 Oct, 2018 3 commits
  12. 09 Oct, 2018 1 commit
  13. 04 Oct, 2018 2 commits
  14. 25 Sep, 2018 1 commit
  15. 20 Sep, 2018 1 commit
    • Ross McIlroy's avatar
      [Compile] Refactor CompilerDispatcher for inner function compilation jobs · 80195fc5
      Ross McIlroy authored
      Refactors the CompilerDispatcher to be able to enqueue eager inner functions
      for off-thread compilation during top-level compilation of a script.
      
      Unoptimized compile jobs are simplified to only have two phases - compile
      and finalization. Only finalization requires heap access (and therefore
      needs to be run on the main thread). The change also introduces a requirement
      to register a SFI with a given compile job after that job is posted, this
      is due to the fact that an SFI won't necessarily exist at the point the job
      is posted, but is created later when top-level compile is being finalized.
      Logic in the compile dispatcher is update to deal with the fact that a job
      may not be able to progress if it doesn't yet have an associated SFI
      registered with it.
      
      BUG=v8:8041
      
      Change-Id: I66cccd626136738304a7cab0e501fc65cf342514
      Reviewed-on: https://chromium-review.googlesource.com/1215782
      Commit-Queue: Ross McIlroy <rmcilroy@chromium.org>
      Reviewed-by: 's avatarMarja Hölttä <marja@chromium.org>
      Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#56088}
      80195fc5
  16. 14 Sep, 2018 1 commit
  17. 18 Jul, 2018 1 commit
  18. 20 Apr, 2018 1 commit
  19. 04 Apr, 2018 1 commit
  20. 26 Mar, 2018 1 commit
  21. 01 Mar, 2018 2 commits
  22. 20 Feb, 2018 1 commit
  23. 30 Nov, 2017 1 commit
  24. 16 Nov, 2017 1 commit
  25. 21 Aug, 2017 1 commit
  26. 18 Aug, 2017 1 commit
  27. 10 Aug, 2017 1 commit
  28. 31 Jul, 2017 1 commit
  29. 28 Jul, 2017 1 commit
  30. 27 Jul, 2017 3 commits