summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2014-06-17 12:01:06 -0700
committerMathieu Chartier <mathieuc@google.com>2014-06-17 12:02:13 -0700
commita033f7031ae384a50230ad09933048fbaee731d4 (patch)
treead6b6dc8614d3b43662001d408ec74a660f16b47
parentdd69b14f522d9cf8230e38c69bf3952a8073c02a (diff)
downloadart-a033f7031ae384a50230ad09933048fbaee731d4.tar.gz
art-a033f7031ae384a50230ad09933048fbaee731d4.tar.bz2
art-a033f7031ae384a50230ad09933048fbaee731d4.zip
Enable background compaction by default
Bug: 8981901 Change-Id: I2b1fe8169779268c130b8804961f968e1ba43cda
-rw-r--r--runtime/parsed_options.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/parsed_options.cc b/runtime/parsed_options.cc
index 0820330468..87106d6003 100644
--- a/runtime/parsed_options.cc
+++ b/runtime/parsed_options.cc
@@ -197,7 +197,7 @@ bool ParsedOptions::Parse(const Runtime::Options& options, bool ignore_unrecogni
#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;