summaryrefslogtreecommitdiffstats
path: root/runtime/parsed_options.h
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2014-08-22 14:53:04 -0700
committerMathieu Chartier <mathieuc@google.com>2014-08-22 18:01:39 -0700
commit6a7824dc81aaab3cb09ced16affca72d1b1da649 (patch)
treeef5eb2f5f882fb1e1c8f3abb00d2837521e62b59 /runtime/parsed_options.h
parente18aa4316eb9a15cd6b1051f27a1ce49967c170e (diff)
downloadart-6a7824dc81aaab3cb09ced16affca72d1b1da649.tar.gz
art-6a7824dc81aaab3cb09ced16affca72d1b1da649.tar.bz2
art-6a7824dc81aaab3cb09ced16affca72d1b1da649.zip
Add fallback for non moving space being full.
When the non moving space becomes full, we disable moving GC and make the main space the new non moving space. Also added a runtime option for changing the non moving space size: -XX:NonMovingSpaceCapacity. Bug: 17189964 (cherry picked from commit 4c5a469683e433f126c9863cd393747d2e7c4a29) Change-Id: If82e3c6f8a0f389e37e14a0b1e6d5126d571fd7a
Diffstat (limited to 'runtime/parsed_options.h')
-rw-r--r--runtime/parsed_options.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/parsed_options.h b/runtime/parsed_options.h
index 5c71f9895c..c0f00e1c79 100644
--- a/runtime/parsed_options.h
+++ b/runtime/parsed_options.h
@@ -70,6 +70,7 @@ class ParsedOptions {
size_t heap_growth_limit_;
size_t heap_min_free_;
size_t heap_max_free_;
+ size_t heap_non_moving_space_capacity_;
double heap_target_utilization_;
double foreground_heap_growth_multiplier_;
unsigned int parallel_gc_threads_;