1. 12 Jul, 2011 1 commit
  2. 05 Jul, 2011 1 commit
    • ricow@chromium.org's avatar
      Introduce code flushing of RegExp code. · 0f682143
      ricow@chromium.org authored
      Due to issues relating mostly to chrome extensions we have lately been
      running into OOMs that are caused by our executable space running
      out. This change introduces flushing of code from regexps if we have
      not used the code for 5 mark sweeps.
      
      The approach is different from the normal function code flusing. Here
      we make a copy of the code inside the data array, and exchange the
      original code with a smi determined by the sweep_generation (a new
      heap variable increased everytime we do mark sweep/compact). If we
      encounter a smi in EnsureCompiled we simply reinstate the code
      object. If, in the marking phase of mark sweep, we find a regexp that
      already have a smi in the code field, and this is more than 5
      generations old we flush the code from the saved index.
      Review URL: http://codereview.chromium.org/7282026
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8532 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      0f682143
  3. 22 Jun, 2011 1 commit
  4. 21 Jun, 2011 1 commit
  5. 20 Jun, 2011 1 commit
  6. 16 Jun, 2011 2 commits
  7. 15 Jun, 2011 2 commits
  8. 10 Jun, 2011 1 commit
  9. 09 Jun, 2011 3 commits
  10. 06 Jun, 2011 1 commit
  11. 03 Jun, 2011 2 commits
  12. 02 Jun, 2011 1 commit
  13. 01 Jun, 2011 1 commit
  14. 31 May, 2011 1 commit
    • rossberg@chromium.org's avatar
      Implement set trap for proxies, and revamp class hierarchy in preparation: · 670f947a
      rossberg@chromium.org authored
      - Introduce a class JSReceiver, that is a common superclass of JSObject and
        JSProxy. Use JSReceiver where appropriate (probably lots of places that we
        still have to migrate, but we will find those later with proxy test suite).
      
      - Move appropriate methods to JSReceiver class (SetProperty,
        GetPropertyAttribute, Get/SetPrototype, Lookup, and so on).
      
      - Introduce new JSFunctionProxy subclass of JSProxy. Currently only a stub.
      
      - Overhaul enum InstanceType:
        * Introduce FIRST/LAST_SPEC_OBJECT_TYPE that ranges over all types that
          represent JS objects, and use that consistently to check language types.
        * Rename FIRST/LAST_JS_OBJECT_TYPE and FIRST/LAST_FUNCTION_CLASS_TYPE
          to FIRST/LAST_[NON]CALLABLE_SPEC_OBJECT_TYPE for clarity.
        * Eliminate the overlap over JS_REGEXP_TYPE.
        * Also replace FIRST_JS_OBJECT with FIRST_JS_RECEIVER, but only use it where
          we exclusively talk about the internal representation type.
        * Insert JS_PROXY and JS_FUNCTION_PROXY in the appropriate places.
      
      - Fix all checks concerning classification, especially for functions, to
        use the CALLABLE_SPEC_OBJECT range (that includes funciton proxies).
      
      - Handle proxies in SetProperty (that was the easiest part :) ).
      
      - A few simple test cases.
      
      R=kmillikin@chromium.org
      
      Review URL: http://codereview.chromium.org/6992072
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8126 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      670f947a
  15. 30 May, 2011 1 commit
  16. 26 May, 2011 2 commits
  17. 24 May, 2011 3 commits
  18. 23 May, 2011 1 commit
  19. 19 May, 2011 1 commit
  20. 18 May, 2011 1 commit
    • danno@chromium.org's avatar
      Reland 7917: · 12350099
      danno@chromium.org authored
      Better support for 'polymorphic' JS and external arrays
      
      Allow  keyed store/load stubs to switch between external array and fast JS arrays without forcing a state transition to the generic stub.
      
      There CL consists of two pieces of functionality. First, code stubs for fast element arrays don't immediately transition to the MEGAMORPHIC state when there's a map mismatch. Second, two ICs are cached per map for fast elements, the MONOMORPHIC version, and a new MEGAMORPHIC version that handles two or more different maps and dispatches to shared stubs to perform the array operation.
      
      Review URL: http://codereview.chromium.org/7036016
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7935 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      12350099
  21. 17 May, 2011 2 commits
  22. 13 May, 2011 2 commits
  23. 12 May, 2011 1 commit
  24. 11 May, 2011 1 commit
  25. 28 Apr, 2011 1 commit
  26. 26 Apr, 2011 1 commit
  27. 21 Apr, 2011 1 commit
  28. 11 Apr, 2011 3 commits