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

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: Avoid ifdef. 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..2502674d6360f9360668f154bf2e8c8a9b03c95d 100644
--- a/runtime/vm/heap.h
+++ b/runtime/vm/heap.h
@@ -55,7 +55,8 @@ class Heap {
};
// Default allocation sizes in MB for the old gen and code heaps.
- static const intptr_t kHeapSizeInMB = 512;
+ static const intptr_t kHeapSizeInMWords = 128;
+ static const intptr_t kHeapSizeInMB = kHeapSizeInMWords * kWordSize;
static const intptr_t kCodeHeapSizeInMB = 18;
~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