summaryrefslogtreecommitdiffstats
path: root/runtime/parsed_options.cc
diff options
context:
space:
mode:
authorHiroshi Yamauchi <yamauchi@google.com>2015-02-20 11:28:03 -0800
committerHiroshi Yamauchi <yamauchi@google.com>2015-02-20 11:28:03 -0800
commitf360ad091bdc1484db2e4e0f0492f620402dbf58 (patch)
tree18b356225ef42bdc3a50a62a5f7975872c9742c6 /runtime/parsed_options.cc
parent4ba405483177cf346211d43d97892bae6ff14119 (diff)
downloadart-f360ad091bdc1484db2e4e0f0492f620402dbf58.tar.gz
art-f360ad091bdc1484db2e4e0f0492f620402dbf58.tar.bz2
art-f360ad091bdc1484db2e4e0f0492f620402dbf58.zip
Make UseTLAB a bool flag.
This would make it easier to override its default value at build time. Change-Id: I643fe1afaf492f0443dc01df0c9a62bb3fa025d9
Diffstat (limited to 'runtime/parsed_options.cc')
-rw-r--r--runtime/parsed_options.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/parsed_options.cc b/runtime/parsed_options.cc
index a5df892e29..daa4373816 100644
--- a/runtime/parsed_options.cc
+++ b/runtime/parsed_options.cc
@@ -141,6 +141,7 @@ std::unique_ptr<RuntimeParser> ParsedOptions::MakeParser(bool ignore_unrecognize
.Define("-XX:LowMemoryMode")
.IntoKey(M::LowMemoryMode)
.Define("-XX:UseTLAB")
+ .WithValue(true)
.IntoKey(M::UseTLAB)
.Define({"-XX:EnableHSpaceCompactForOOM", "-XX:DisableHSpaceCompactForOOM"})
.WithValues({true, false})