1. 01 Jun, 2015 1 commit
  2. 03 Jun, 2014 1 commit
  3. 29 Apr, 2014 1 commit
  4. 19 Dec, 2013 1 commit
    • vegorov@chromium.org's avatar
      Reland r18363. · bc77d4d6
      vegorov@chromium.org authored
      Introduce API to temporarily interrupt long running JavaScript code.
      
      It is different from termination API as interrupted JavaScript will continue to execute normally when registered InterruptCallback returns.
      
        /**
         * Request V8 to interrupt long running JavaScript code and invoke
         * the given |callback| passing the given |data| to it. After |callback|
         * returns control will be returned to the JavaScript code.
         * At any given moment V8 can remember only a single callback for the very
         * last interrupt request.
         * Can be called from another thread without acquiring a |Locker|.
         * Registered |callback| must not reenter interrupted Isolate.
         */
        void RequestInterrupt(InterruptCallback callback, void* data);
      
        /**
         * Clear interrupt request created by |RequestInterrupt|.
         * Can be called from another thread without acquiring a |Locker|.
         */
        void ClearInterrupt();
      
      Fix Hydrogen SCE pass to avoid eliminating stack guards too aggressively. Only normal JavaScript functions are guaranteed to have stack guard in the prologue. If function is a builtin or has a custom call IC it will lack one.
      
      Changes from r18363:
      
      - includes r18364 to fix compilation errors: removes debugging only code;
      
      - makes interrupiton related tests not threaded, because they rely on having exclusive access to the V8 instance and the fact that they can only interrupt themselves, if they are interrupted from the outside they break;
      
      - changes HasStackCheck predicate used during SCE pass to avoid handles dereference to make SCE compatible with parallel recompilation.
      
      R=dcarney@chromium.org
      
      Review URL: https://codereview.chromium.org/104823008
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18375 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      bc77d4d6
  5. 18 Dec, 2013 2 commits
  6. 08 Jul, 2013 1 commit
  7. 02 Jul, 2013 1 commit
  8. 28 Jun, 2013 1 commit
  9. 31 Jan, 2013 1 commit
  10. 13 Jul, 2011 1 commit
  11. 06 May, 2011 1 commit
  12. 18 Mar, 2011 3 commits
  13. 07 Dec, 2010 3 commits
  14. 20 Oct, 2010 1 commit
  15. 08 Jul, 2010 1 commit
  16. 08 Apr, 2010 2 commits
  17. 04 Feb, 2010 1 commit
  18. 27 May, 2009 1 commit
  19. 31 Mar, 2009 3 commits
  20. 27 Mar, 2009 1 commit
  21. 16 Jan, 2009 1 commit
  22. 14 Jan, 2009 1 commit
  23. 26 Sep, 2008 1 commit
  24. 09 Sep, 2008 1 commit
  25. 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
  26. 03 Jul, 2008 1 commit