Revision: 11004
Author: [email protected]
Date: Mon Mar 12 02:39:12 2012
Log: 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.
[email protected]
BUG=v8:1682
Review URL: https://chromiumcodereview.appspot.com/9674001
http://code.google.com/p/v8/source/detail?r=11004
Modified:
/branches/bleeding_edge/src/incremental-marking.cc
=======================================
--- /branches/bleeding_edge/src/incremental-marking.cc Tue Feb 7 00:51:47
2012
+++ /branches/bleeding_edge/src/incremental-marking.cc Mon Mar 12 02:39:12
2012
@@ -396,7 +396,7 @@
return !FLAG_expose_gc &&
FLAG_incremental_marking &&
!Serializer::enabled() &&
- heap_->PromotedSpaceSize() > kActivationThreshold;
+ heap_->PromotedSpaceSizeOfObjects() > kActivationThreshold;
}
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev