diff options
author | Mathieu Chartier <mathieuc@google.com> | 2014-07-10 17:50:34 -0700 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2014-07-10 18:27:28 -0700 |
commit | 2f4f0a3d049a39687418087fc0165f7a21654b45 (patch) | |
tree | dfa16ef78c177850318eb1e7b880727959e9146a | |
parent | 9245c39291a4618f04687bdb970def80ae7061bd (diff) | |
download | art-2f4f0a3d049a39687418087fc0165f7a21654b45.zip art-2f4f0a3d049a39687418087fc0165f7a21654b45.tar.gz art-2f4f0a3d049a39687418087fc0165f7a21654b45.tar.bz2 |
Change default heap maximum size to be 256m.
Useful for command line benchmarks.
Change-Id: Ie525863cd8eff93c64ce76639b1108fbdad91633
-rw-r--r-- | runtime/gc/heap.h | 2 |
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); |