Reviewers: ulan,

Description:
Fix performance on the page cycler, which is not designed to test
GC speed.

Please review this at http://codereview.chromium.org/8804004/

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
  M     src/mark-compact.cc


Index: src/mark-compact.cc
===================================================================
--- src/mark-compact.cc (revision 10142)
+++ src/mark-compact.cc (working copy)
@@ -3673,6 +3673,7 @@
 #endif
   SweeperType how_to_sweep =
       FLAG_lazy_sweeping ? LAZY_CONSERVATIVE : CONSERVATIVE;
+  if (FLAG_expose_gc) how_to_sweep = CONSERVATIVE;
   if (sweep_precisely_) how_to_sweep = PRECISE;
   // Noncompacting collections simply sweep the spaces to clear the mark
   // bits and free the nonlive blocks (for old and map spaces).  We sweep


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to