summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2014-07-11 01:47:39 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-07-10 20:49:23 +0000
commit9e5f302becd4fddb8e5a785e6522cb8602469730 (patch)
treedfa16ef78c177850318eb1e7b880727959e9146a
parent9245c39291a4618f04687bdb970def80ae7061bd (diff)
parent2f4f0a3d049a39687418087fc0165f7a21654b45 (diff)
downloadart-9e5f302becd4fddb8e5a785e6522cb8602469730.zip
art-9e5f302becd4fddb8e5a785e6522cb8602469730.tar.gz
art-9e5f302becd4fddb8e5a785e6522cb8602469730.tar.bz2
Merge "Change default heap maximum size to be 256m."
-rw-r--r--runtime/gc/heap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/gc/heap.h b/runtime/gc/heap.h
index 07db169..86dab21 100644
--- a/runtime/gc/heap.h
+++ b/runtime/gc/heap.h
@@ -120,7 +120,7 @@ class Heap {
static constexpr size_t kDefaultStartingSize = kPageSize;
static constexpr size_t kDefaultInitialSize = 2 * MB;
- static constexpr size_t kDefaultMaximumSize = 32 * MB;
+ static constexpr size_t kDefaultMaximumSize = 256 * MB;
static constexpr size_t kDefaultMaxFree = 2 * MB;
static constexpr size_t kDefaultMinFree = kDefaultMaxFree / 4;
static constexpr size_t kDefaultLongPauseLogThreshold = MsToNs(5);