Revision: 10148
Author: [email protected]
Date: Mon Dec 5 00:58:12 2011
Log: Fix performance on the page cycler, which is not designed to test
GC speed.
Review URL: http://codereview.chromium.org/8804004
http://code.google.com/p/v8/source/detail?r=10148
Modified:
/branches/bleeding_edge/src/mark-compact.cc
=======================================
--- /branches/bleeding_edge/src/mark-compact.cc Wed Nov 30 02:38:16 2011
+++ /branches/bleeding_edge/src/mark-compact.cc Mon Dec 5 00:58:12 2011
@@ -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