1. 08 Jul, 2011 1 commit
    • sgjesse@chromium.org's avatar
      MIPS: port Introduce code flushing of RegExp code. · 4145dded
      sgjesse@chromium.org authored
      Ported r8532 (c9db503)
      
      Original commit message:
      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.
      
      BUG=
      TEST=
      
      Review URL: http://codereview.chromium.org//7324018
      Patch from Paul Lind <plind44@gmail.com>.
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8568 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      4145dded
  2. 07 Jul, 2011 8 commits
  3. 06 Jul, 2011 12 commits
  4. 05 Jul, 2011 8 commits
  5. 04 Jul, 2011 9 commits
  6. 01 Jul, 2011 2 commits