summaryrefslogtreecommitdiffstats
path: root/runtime/runtime.h
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2013-08-05 10:17:40 -0700
committerMathieu Chartier <mathieuc@google.com>2013-08-05 14:53:05 -0700
commite0a53e99e2a01f8668d6616c3cec7e2f5a711286 (patch)
treed672967f101a31e1dbf739a2e13f0725625e2ca2 /runtime/runtime.h
parentf929b1f270a880e1f98c7a3913a5a5468a2a2368 (diff)
downloadart-e0a53e99e2a01f8668d6616c3cec7e2f5a711286.zip
art-e0a53e99e2a01f8668d6616c3cec7e2f5a711286.tar.gz
art-e0a53e99e2a01f8668d6616c3cec7e2f5a711286.tar.bz2
Add low memory mode option to ART.
Useful so that we match the option I added here: https://googleplex-android-review.googlesource.com/#/c/328940/ In ART low memory mode reduces the maximum number of histogram buckets. We also trim no matter the utilization. Change-Id: I655ba63312c0a6574569cdd5171ca81ea338c2aa
Diffstat (limited to 'runtime/runtime.h')
-rw-r--r--runtime/runtime.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/runtime.h b/runtime/runtime.h
index d480e36..47fff29 100644
--- a/runtime/runtime.h
+++ b/runtime/runtime.h
@@ -97,6 +97,7 @@ class Runtime {
size_t heap_max_free_;
double heap_target_utilization_;
size_t stack_size_;
+ bool low_memory_mode_;
size_t lock_profiling_threshold_;
std::string stack_trace_file_;
bool method_trace_;