Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2789)

Unified Diff: runtime/vm/heap.h

Issue 24113004: Double the default heap size on 64-bit platforms to account for all pointers taking up twice the am… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/heap.h
diff --git a/runtime/vm/heap.h b/runtime/vm/heap.h
index 6dd44192735d1676382984b55633bc05276f161a..2b1ac63520358bb34815fef24cd65a8298fc2e23 100644
--- a/runtime/vm/heap.h
+++ b/runtime/vm/heap.h
@@ -55,8 +55,13 @@ class Heap {
};
// Default allocation sizes in MB for the old gen and code heaps.
+#if defined(ARCH_IS_32_BIT)
static const intptr_t kHeapSizeInMB = 512;
Ivan Posva 2013/09/13 07:41:08 How about the code below to avoid the ifdefs? sta
kasperl 2013/09/13 07:46:22 Done.
static const intptr_t kCodeHeapSizeInMB = 18;
+#else
+ static const intptr_t kHeapSizeInMB = 1024;
+ static const intptr_t kCodeHeapSizeInMB = 24;
+#endif
~Heap();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698