Fix heuristic triggering incremental marking.
authoryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 12 Mar 2012 09:39:12 +0000 (09:39 +0000)
committeryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 12 Mar 2012 09:39:12 +0000 (09:39 +0000)
commit258708dda9fef6451e49dae49021a99bdbb1b7f7
tree0a1555123c5946ac39c08e5788c0a433be9250cb
parent85611e37c072690c17aa1de3722793cd9fcc192f
Fix heuristic triggering incremental marking.

This changes the heuristic that starts incremental marking to be based
on a more accurate heap size estimation. Pages being swept lazily can be
accounted using the live bytes counter.

R=mstarzinger@chromium.org
BUG=v8:1682

Review URL: https://chromiumcodereview.appspot.com/9674001

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11004 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/incremental-marking.cc