Chromium Code Reviews| Index: src/spaces.h |
| =================================================================== |
| --- src/spaces.h (revision 8657) |
| +++ src/spaces.h (working copy) |
| @@ -645,13 +645,13 @@ |
| // If a chunk has at least 16 pages, the maximum heap size is about |
| // 8K * 8K * 16 = 1G bytes. |
| #ifdef V8_TARGET_ARCH_X64 |
| - static const int kPagesPerChunk = 32; |
| + static const int kPagesPerChunk = 31; |
| // On 64 bit the chunk table consists of 4 levels of 4096-entry tables. |
| static const int kPagesPerChunkLog2 = 5; |
|
Vyacheslav Egorov (Chromium)
2011/07/15 11:59:14
1 << kPagesPerChunkLog2 no longer equals to kPages
Cris Neckar
2011/07/15 18:51:29
Never fear.. This isn't used anywhere so I got rid
|
| static const int kChunkTableLevels = 4; |
| static const int kChunkTableBitsPerLevel = 12; |
| #else |
| - static const int kPagesPerChunk = 16; |
| + static const int kPagesPerChunk = 15; |
| // On 32 bit the chunk table consists of 2 levels of 256-entry tables. |
| static const int kPagesPerChunkLog2 = 4; |
| static const int kChunkTableLevels = 2; |