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 |