1. 10 Sep, 2019 1 commit
    • Michael Lippautz's avatar
      [heap] Provide async GC for JS · aa7c6e22
      Michael Lippautz authored
      Reuse the existing builtin and extension infrastructure to provide a
      garbage collection mechanism that allows for asynchronous execution.
      
      On --expose-gc, this changes the gc call to parse parameters the
      following:
      (1) Parse options when encountering an options object with known properties.
      (2) No parameters is parsed as
          {type: 'major', execution: 'sync'}.
      (3) Truthy parameter that is not setting options is parsed as
          {type: 'minor', execution: 'sync'}.
      
      (2) and (3) preserve backwards compatibility for existing callers as this may be
      used widely across various test and benchmarking infrastructures.
      
      Valid options:
      - type: 'major' or 'minor' for full GC and Scavenge, respectively.
      - execution: 'sync' or 'async' for synchronous and asynchronous
        execution respectively.
      
      Returns a Promise that resolves when GC is done when asynchronous execution
      is requested, and undefined otherwise.
      
      Note: This is implemented as builtin to avoid having any stack at all. This
      information is also passed to the embedder to allow skipping stack scanning.
      
      Change-Id: Ie5c9b6f0d55238abfeb9051ffa1837501d474934
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1793143
      Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
      Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
      Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#63659}
      aa7c6e22
  2. 23 May, 2019 1 commit
  3. 17 Sep, 2018 1 commit
  4. 30 Sep, 2015 1 commit
  5. 11 Aug, 2015 1 commit
    • mstarzinger's avatar
      Remove several grab-bag includes from the v8.h header. · 58109a2c
      mstarzinger authored
      This is the first step of turning the v8.h file into a normal header
      instead of an include-the-world header. The new rule is that no other
      header files are allowed to include v8.h, which is enforced by DEPS.
      
      Also the number of includes inside the v8.h file has been drastically
      reduced. Basically the last missing piece is the inclusion of the big
      objects-inl.h file.
      
      This in turn makes many headers follow the IWYU principle.
      
      R=bmeurer@chromium.org,hpayer@chromium.org,titzer@chromium.org
      
      Review URL: https://codereview.chromium.org/1282503003
      
      Cr-Commit-Position: refs/heads/master@{#30102}
      58109a2c
  6. 06 Jul, 2015 1 commit
  7. 13 Jun, 2014 1 commit
  8. 03 Jun, 2014 1 commit
  9. 29 Apr, 2014 1 commit
  10. 17 Jan, 2014 2 commits
  11. 28 Nov, 2013 1 commit
  12. 05 Jun, 2013 1 commit
  13. 23 Apr, 2013 1 commit
  14. 17 Nov, 2010 1 commit
  15. 02 Jun, 2010 1 commit
  16. 10 May, 2010 1 commit
    • erik.corry@gmail.com's avatar
      First step towards making JumpTarget work on ARM. Instead · fa7c92ea
      erik.corry@gmail.com authored
      of having a list of virtual frame pointers in the jump
      target we have one virtual frame, which is the frame that
      all have to merge to to branch to that frame.  The virtual
      frame in the JumpTarget is inside the JumpTarget, rather than
      being an allocated object that is pointed to.  Unfortunately
      this means that the JumpTarget class has to be able to see
      the size of a VirtualFrame object to compile, which in turn
      lead to a major reorganization of related .h files.  The
      actual change of functionality in this change is intended
      to be minimal (we now assert that the virtual frames match
      when using JumpTarget instead of just assuming that they do).
      Review URL: http://codereview.chromium.org/1961004
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4631 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      fa7c92ea
  17. 08 Apr, 2010 1 commit
  18. 25 Mar, 2010 1 commit
  19. 04 Feb, 2010 1 commit
  20. 27 May, 2009 1 commit
  21. 31 Mar, 2009 3 commits
  22. 27 Mar, 2009 1 commit
  23. 16 Jan, 2009 1 commit
  24. 14 Jan, 2009 1 commit
  25. 26 Sep, 2008 1 commit
  26. 09 Sep, 2008 1 commit
  27. 22 Aug, 2008 1 commit
    • christian.plesner.hansen's avatar
      Included mjsunit JavaScript test suite and C++ unit tests. · c42f5829
      christian.plesner.hansen authored
      In the shell sample don't print the result of executing a script, only
      evaluating expressions.
      
      Fixed issue when building samples on Windows using a shared V8
      library.  Added visibility option on Linux build which makes the
      generated library 18% smaller.
      
      Changed build system to accept multiple build modes in one build and
      generate seperate objects, libraries and executables for each mode.
      
      Removed deferred negation optimization (a * -b => -(a * b)) since this
      visibly changes operand conversion order.
      
      Improved parsing performance by introducing stack guard in preparsing.
      Without a stack guard preparsing always bails out with stack overflow.
      
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      c42f5829
  28. 03 Jul, 2008 1 commit