commit | e0a53e99e2a01f8668d6616c3cec7e2f5a711286 | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Mon Aug 05 10:17:40 2013 -0700 |
committer | Mathieu Chartier <mathieuc@google.com> | Mon Aug 05 14:53:05 2013 -0700 |
tree | d672967f101a31e1dbf739a2e13f0725625e2ca2 | |
parent | f929b1f270a880e1f98c7a3913a5a5468a2a2368 [diff] [blame] |
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
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 @@ 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_;