Enable background compaction by default
Bug: 8981901
Change-Id: I2b1fe8169779268c130b8804961f968e1ba43cda
diff --git a/runtime/parsed_options.cc b/runtime/parsed_options.cc
index 0820330..87106d6 100644
--- a/runtime/parsed_options.cc
+++ b/runtime/parsed_options.cc
@@ -197,7 +197,7 @@
#endif
// If background_collector_type_ is kCollectorTypeNone, it defaults to the collector_type_ after
// parsing options.
- background_collector_type_ = gc::kCollectorTypeNone;
+ background_collector_type_ = gc::kCollectorTypeSS;
stack_size_ = 0; // 0 means default.
max_spins_before_thin_lock_inflation_ = Monitor::kDefaultMaxSpinsBeforeThinLockInflation;
low_memory_mode_ = false;