Chromium Code Reviews| 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(); |