summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi Yamauchi <yamauchi@google.com>2015-05-15 16:24:24 -0700
committerHiroshi Yamauchi <yamauchi@google.com>2015-05-18 12:44:14 -0700
commit49b7134f29439326d3d20bfea7bfde0e360c320c (patch)
treeeb78128b431d81e55668fa4d79ed203349417bdb
parenta5511adcd42bfef442ac6e4990bde26366253bbf (diff)
Enable tlab by default for the read barrier config.
Bug: 12687968 Change-Id: I2ac930386aebe5aaacbccf1b950c376df0d9c81b
-rw-r--r--runtime/runtime_options.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/runtime_options.def b/runtime/runtime_options.def
index 8b504c1334..922334ee99 100644
--- a/runtime/runtime_options.def
+++ b/runtime/runtime_options.def
@@ -62,7 +62,7 @@ RUNTIME_OPTIONS_KEY (Unit, DumpGCPerformanceOnShutdown)
RUNTIME_OPTIONS_KEY (Unit, DumpJITInfoOnShutdown)
RUNTIME_OPTIONS_KEY (Unit, IgnoreMaxFootprint)
RUNTIME_OPTIONS_KEY (Unit, LowMemoryMode)
-RUNTIME_OPTIONS_KEY (bool, UseTLAB, kUseTlab)
+RUNTIME_OPTIONS_KEY (bool, UseTLAB, (kUseTlab || kUseReadBarrier))
RUNTIME_OPTIONS_KEY (bool, EnableHSpaceCompactForOOM, true)
RUNTIME_OPTIONS_KEY (bool, UseJIT, false)
RUNTIME_OPTIONS_KEY (unsigned int, JITCompileThreshold, jit::Jit::kDefaultCompileThreshold)